I'm calling one of route of my Mojolicious::Lite app via cron, using 
command-line 
interface <https://metacpan.org/pod/Mojolicious::Commands>, like this:

*/5 * * * * perl /home/lab/MyApp get /update?filter=opened

inside MyApp there is some logging strings like

app->log->info('Variable a:'.$a);

But as I noticed that app is not writing to production.log or debug.log 
when accessed via command line.

How to call same (as access to routes via browser) logging when access the 
app via command line?

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mojolicious+unsubscr...@googlegroups.com.
To post to this group, send email to mojolicious@googlegroups.com.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to