www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - How to enable verbose logging during application run

reply Venkat <venkatram.akkineni gmail.com> writes:
I am running a vibed app using `dub` command. But it produces no 
logging what so ever when re
Mar 17 2018
parent reply Venkat <venkatram.akkineni gmail.com> writes:
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.
Mar 17 2018
parent reply rjframe <dlang ryanjframe.com> writes:
On Sat, 17 Mar 2018 22:37:36 +0000, 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.
Mar 17 2018
parent Venkat <venkatram.akkineni gmail.com> writes:
Thankyou.
Mar 17 2018