Re: [Dspace-tech] double lines in log file
Only a guess - did you edit log levels recently? Maybe you added an appender and it's now defined twice. Restore your [dspace]/config/log4j.properties from tarball or git, restart Tomcat and check if it persists. Regards, ~~helix84 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] double lines in log file
On Tue, Aug 21, 2012 at 7:17 PM, Jose Blanco wrote: > I was just checking this, and I have this: > > log4j.rootCategory=DEBUG, A1 > log4j.category.org.dspace=DEBUG, A1 > > I commented out the 1st line, and now, I just get one line. Not > understanding this very much, I'm not sure why I had the 1st line in there > in the first place. Only the first line is in the distributed file. And it's on the INFO level, do you actually need DEBUG at this moment? Because it can make your logs grow very quickly to fill up the whole disk. Happens to me sometimes. Regards, ~~helix84 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] double lines in log file
I was just checking this, and I have this: log4j.rootCategory=DEBUG, A1 log4j.category.org.dspace=DEBUG, A1 I commented out the 1st line, and now, I just get one line. Not understanding this very much, I'm not sure why I had the 1st line in there in the first place. On Tue, Aug 21, 2012 at 1:08 PM, helix84 wrote: > Only a guess - did you edit log levels recently? Maybe you added an > appender and it's now defined twice. Restore your > [dspace]/config/log4j.properties from tarball or git, restart Tomcat > and check if it persists. > > Regards, > ~~helix84 > > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] double lines in log file
right now I'm in dev, so I use DEBUG, but in prod I use INFO. Thanks! Jose On Tue, Aug 21, 2012 at 1:21 PM, helix84 wrote: > On Tue, Aug 21, 2012 at 7:17 PM, Jose Blanco wrote: > > I was just checking this, and I have this: > > > > log4j.rootCategory=DEBUG, A1 > > log4j.category.org.dspace=DEBUG, A1 > > > > I commented out the 1st line, and now, I just get one line. Not > > understanding this very much, I'm not sure why I had the 1st line in > there > > in the first place. > > Only the first line is in the distributed file. And it's on the INFO > level, do you actually need DEBUG at this moment? Because it can make > your logs grow very quickly to fill up the whole disk. Happens to me > sometimes. > > Regards, > ~~helix84 > > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech