Creating Custom log levels in Logback logging framework

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Creating Custom log levels in Logback logging framework



Can I add custom log levels like fine,finer and finest to the existing supported logback log levels. Apart from the existing ones I need to include additional log Levels.This addition should not effect the underlying code.



Thanks in advance...Any help appreciated




1 Answer
1



I don’t know if this will help you but you can write logs with the java.io an nio package by writing what you want in a file using a filewriter


File f=new File("name");
BufferedWriter writer=new BufferedWriter(new FileWriter(f));






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Makefile test if variable is not empty

Will Oldham

'Series' object is not callable Error / Statsmodels illegal variable name