Skip to content

Commit

Permalink
tine20 logging
Browse files Browse the repository at this point in the history
  • Loading branch information
exmatrikulator committed Apr 24, 2019
1 parent 8afb9e1 commit 151b348
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ if [ -z "$@" ]; then
sed -i "s/SETUP PASSWORD//" /etc/tine20/config.inc.php
fi
/usr/sbin/cron
/usr/sbin/apache2ctl -DFOREGROUND
touch /opt/tine20/tine20.log
chown www-data /opt/tine20/tine20.log /etc/tine20/config.inc.php
tail -f /opt/tine20/tine20.log &
/usr/sbin/apache2ctl -e info -DFOREGROUND
fi

exec "$@"
6 changes: 6 additions & 0 deletions tine20.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ return array(
'port' => 6379,
),
),
'logger' => array (
'active' => true,
'filename' => '/opt/tine20/tine20.log',
'priority' => 5,
),

'actionqueue' => array (
'active' => true,
'backend' => 'Redis',
Expand Down

0 comments on commit 151b348

Please sign in to comment.