Re: How to enable verbose logging during application run

2018-03-17 Thread Venkat via Digitalmars-d-learn

Thankyou.


Re: How to enable verbose logging during application run

2018-03-17 Thread rjframe via Digitalmars-d-learn
On Sat, 17 Mar 2018 22:37:36 +, Venkat wrote:

> Sorry posted the above message by accident.
> 
> I am running a vibed app using `dub` command. But it produces no logging
> what so ever when requests are made. The server returns http error codes
> but it doesn't log anything to the console. How do I make it show me a
> lot more detail than it is doing now ?
> 
> For example, in a Java webapp, one would change the logging level to
> debug if a logging library is configured.


vibe.core.log has a setLogLevel function.

http://vibed.org/api/vibe.core.log/setLogLevel
http://vibed.org/api/vibe.core.log/LogLevel


Also, the URLRouter class has a getAllRoutes method; if needed, writing 
that to the terminal can verify the routes are what you expect.


Re: How to enable verbose logging during application run

2018-03-17 Thread Venkat via Digitalmars-d-learn

Sorry posted the above message by accident.

I am running a vibed app using `dub` command. But it produces no 
logging what so ever when requests are made. The server returns 
http error codes but it doesn't log anything to the console. How 
do I make it show me a lot more detail than it is doing now ?


For example, in a Java webapp, one would change the logging level 
to debug if a logging library is configured.





How to enable verbose logging during application run

2018-03-17 Thread Venkat via Digitalmars-d-learn
I am running a vibed app using `dub` command. But it produces no 
logging what so ever when re