[dancer-users] Logging Issues
David Precious
davidp at preshweb.co.uk
Thu Jan 17 16:52:26 GMT 2013
On Thu, 17 Jan 2013 11:23:01 -0500
James Baer <jamesfbaer at gmail.com> wrote:
> log directory /var/www/vhost/<appname>/bin/.. isn't
> writable/executable and can't chmod it
> at /usr/share/perl5/vendor_perl/Dancer/Logger.pm line 16
>
> According to the docs: "If you're using the file logging engine, a
> directory appdir/logs will be created and will host one logfile per
> environment."
>
> Why is it saying "bin" isn't writable, when it should be looking for a
> "logs" directory?
Going by the ".." at the end, it's trying to create the "logs" dir in
the app dir (for some reason, starting from $appdir/bin and going up a
level).
Looks like you probably need to create $appdir/logs and ensure it's
writeable & executable.
--
David Precious ("bigpresh") <davidp at preshweb.co.uk>
http://www.preshweb.co.uk/ www.preshweb.co.uk/twitter
www.preshweb.co.uk/linkedin www.preshweb.co.uk/facebook
www.preshweb.co.uk/cpan www.preshweb.co.uk/github
More information about the dancer-users
mailing list