aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bachelier <laurent@bachelier.name>2010-12-27 20:59:18 +0100
committerLaurent Bachelier <laurent@bachelier.name>2010-12-27 20:59:18 +0100
commitf2464f999ac8c9ed97cbef41c74d7345016aa421 (patch)
tree11f79cf73c957bbe1e97b70d3d85d5b0d45f6e5d
parentFixed long option for -s/--single-option (diff)
downloadsymfttpd-f2464f999ac8c9ed97cbef41c74d7345016aa421.tar.xz
Use log_dir option for tail
-rwxr-xr-xspawn4
1 files changed, 2 insertions, 2 deletions
diff --git a/spawn b/spawn
index dd6f2b9..e71ed37 100755
--- a/spawn
+++ b/spawn
@@ -113,8 +113,8 @@ else
if ($options['tail'])
{
$multitail = new MultiTail();
- $multitail->add('lighttpd-access', new Tail($project_path.'/log/lighttpd/access.log'));
- $multitail->add('lighttpd-error', new Tail($project_path.'/log/lighttpd/error.log'));
+ $multitail->add('lighttpd-access', new Tail($options['log_dir'].'/access.log'));
+ $multitail->add('lighttpd-error', new Tail($options['log_dir'].'/error.log'));
// We have to do it before the fork to capture the startup messages
$multitail->consume();
}