[Mojolicious] Re: How to have debug msg with a full Mojolicious app

2019-06-04 Thread François Rappaz
So simple, Yes that was that: I created a log folder and didn't realize the 
log messages went there instead to stderr.

François


On Tuesday, June 4, 2019 at 12:07:02 PM UTC+2, François Rappaz wrote:
>
> With Mojolicious::Lite, I have no problem in having debug message using 
> $c->app->log->debug();
>
> When I start a full Mololicious app with a script, named my_lib.pl,  
> ending in
>  
>
> Mojolicious::Commands->start_app('MyLib');
>
>
> and that script is run from the windows command (Yes, I'm on Windows) with
>
> morbo my_lib.pl
>
>
> I do not have any message that way, What am I missing ? How can I have 
> these ?
> Thanks
> F.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mojolicious/0a9745f6-b73e-4577-9f43-fc5bd7d2770c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Mojolicious] How to have debug msg with a full Mojolicious app

2019-06-04 Thread Dan Book
Do you have a log directory? If it is present logs will go there instead of
STDERR.

-Dan

On Tue, Jun 4, 2019 at 6:07 AM François Rappaz  wrote:

> With Mojolicious::Lite, I have no problem in having debug message using
> $c->app->log->debug();
>
> When I start a full Mololicious app with a script, named my_lib.pl,
> ending in
>
>
> Mojolicious::Commands->start_app('MyLib');
>
>
> and that script is run from the windows command (Yes, I'm on Windows) with
>
> morbo my_lib.pl
>
>
> I do not have any message that way, What am I missing ? How can I have
> these ?
> Thanks
> F.
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mojolicious/319fdacc-a66c-4201-8e15-5964c52f2de9%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mojolicious/CABMkAVX9rWuMVYT09GZqLEDcgS4jSfjnzWV3xXD7GSjVr%2BwCsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.