[Building Sakai] Turn It In has its own log.

William Karavites willkara at oit.rutgers.edu
Tue Feb 12 13:17:30 PST 2013


Seth, 


I get it now. I'll test around with it to see what options would work. Thanks. 


-Will 


------------------------------------ 
William Karavites 
Application Programmer 
OIT/OIRT- Rutgers University 
Office: 732-445-8726 
Cell: 732-822-9405 
willkara at rutgers.edu 
------------------------------------ 

----- Original Message -----

From: "Seth Theriault" <slt at columbia.edu> 
To: "William Karavites" <willkara at oit.rutgers.edu> 
Cc: "dev sakai" <sakai-dev at collab.sakaiproject.org> 
Sent: Tuesday, February 12, 2013 4:15:39 PM 
Subject: Re: [Building Sakai] Turn It In has its own log. 

On Tue, Feb 12, 2013 at 3:51 PM, William Karavites 
<willkara at oit.rutgers.edu> wrote: 

> https://gist.github.com/anonymous/4773103 
> 
> Above are the pertinent files (I think) for changing the logs. I tried 
> changing the settings in the content-review file but nothing changed. I even 
> deleted the contents of the file did nothing so I am guessing that the 
> content-review tii implementation doesn't use that one at all. 

I am pretty sure that the first log4j.properties file isn't used at all. 

Here's my example. Locally, I wanted to separate the logs for the 
Sakai search service. To do this, I added these entries in the 
main/kernel log4j.properties that I placed in 
${CATALINE_HOME}/common/classes (this is 2.8.1 under 5.5.35, bu you 
should be able to do it in Tomcat 7 as well for CLE 2.9): 

[...] 
log4j.appender.sakaisearch=org.apache.log4j.DailyRollingFileAppender 
log4j.appender.sakaisearch.DatePattern='.'yyyy-MM-dd 
log4j.appender.sakaisearch.File=/var/log/tcat/sakai/sakaisearch.log 
log4j.appender.sakaisearch.layout=org.apache.log4j.PatternLayout 
log4j.appender.sakaisearch.layout.ConversionPattern=%d %-5p [%t] [%c]: %m%n 
log4j.appender.sakaisearch.Encoding=UTF-8 

[...] 
# Application logging options 
log4j.logger.org.sakaiproject=INFO 
log4j.logger.org.sakaiproject.search=sakaisearch 

You probably want to log org.sakaiproject.content-review (or whatever) 
to a separate log. 

Seth 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130212/379f1530/attachment.html 


More information about the sakai-dev mailing list