in reply to Does Catalyst by default have its own logging, and if so, where?

Catalyst logging is customarily (but, not necessarily) based on the Catalyst::Log facility, which usually then uses Log::Log4Perl or Log::Dispatch. See the "debugging" section of the Catalyst::Manual. You should surf the source-code and configuration files of this application to see exactly how they did it this time. Also check for configuration switches particular to "production" which might be different for "development."
  • Comment on Re: Does Catalyst by default have its own logging, and if so, where?

Replies are listed 'Best First'.
Re^2: Does Catalyst by default have its own logging, and if so, where?
by Cody Fendant (Hermit) on Nov 05, 2020 at 02:04 UTC

    I have checked the config, and I've grepped through the source code. There are calls in the source code to $c->log->error->('foo') and I've added my own and there's nothing obvious going on.

    I've looked through /var/log and can't see anything with Catalyst, or the names of the apps in question, or anything changes when I run catalyst code to which I've added an error call.

    I would have thought if Catalyst did not have a logging system enabled, then trying to log an error would have itself thrown an error. It's a mystery.

      You didn't actually expect his "help" to be worth more than the space of the electrons they're taking up, did you?

        Honestly not sure what point you’re making, sorry.