Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logs not writing #246

Open
paramitanit opened this issue Aug 14, 2017 · 5 comments
Open

logs not writing #246

paramitanit opened this issue Aug 14, 2017 · 5 comments

Comments

@paramitanit
Copy link

Hi @yegor256

i have problem, logs are not writing for me too. i used the class files, pom.xml as the given URL(#179) but the pom xml showing error.I m attaching the error and also the pom.xml file..please help me asap
pom.txt
pom

@0crat
Copy link

0crat commented Aug 14, 2017

@yegor256 please, pay attention to this issue

@yegor256
Copy link
Member

@paramitanit they won't work in the IDE, you know that?

@paramitanit
Copy link
Author

@yegor256 yeah sir...the file jcabi.log is not generating: c//log//jcabi.log in properties file

log4j.rootLogger=INFO, file, CONSOLE
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=C:\log\jcabi.log
log4j.appender.file.MaxFileSize=10MB
log4j.appender.file.MaxBackupIndex=1
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n

log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=com.jcabi.log.MulticolorLayout
log4j.appender.CONSOLE.layout.ConversionPattern=[%color{%-5p}] %c: %m%n

@paramitanit
Copy link
Author

@yegor256 i m using eclipse indigo

@yegor256
Copy link
Member

@paramitanit jcabi-log won't work if you run your app from Eclipse. Run it from Maven.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants