On my development machine, Log::Dispatch works fine with the following
option in myapp.conf:

  class File::Locked
  filename /var/opt/myapp/log/catalyst.log
  min_level info
  mode append
  format "[%d] [%p] %m <at %F line %L>%n"

but when it runs with the --background option, it exits rather than logging
anything.  As far as I can tell, the user has the correct permissions.

On a testing server, where it runs in the background, it does not output
anything, but does not exit. The user it runs as has permissions to write to
the directory, and even creates the log file if it doesn't exist, but
nothing is actually written to it.

Any ideas why this is happening?

List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to