Questions tagged [log-level]

79 questions
0
votes
1 answer

Rails log levels to files

I want to log warn messages to a file like warn.log, error messages to a file like error.log. I've googled so many pages and also the StackOverFlow, but I didn't find some parallel topics. Do you have any good suggestions?
hiveer
  • 660
  • 7
  • 17
0
votes
1 answer

app.config in DEBUG,INFO, etc

I have a problem with app.config in C#. I wrote an app.config with key and value=DEBUG, while in main I wrote DEBUG,INFO,WARN AND ERROR. The problem is that the value doesn't work and it's printing the main into my log without considering the…
user1616148
-1
votes
1 answer

Additivity false with different log levels, which logger level is used?

please consider the follwing snippet:
GC_
  • 448
  • 4
  • 23
-2
votes
1 answer

How do I log a message in log4j2 independent of the set log level

I want to log a message regardless of which level my logger is set, except when the level is OFF. My understanding was that the following will do that. logger.log(Level.ALL, ); However that doesn't work, unless I set my root logger…
1 2 3 4 5
6