[Building Sakai] About Log4j

David Horwitz david.horwitz at uct.ac.za
Wed Jan 19 06:12:25 PST 2011


You can control the log levels in particular classes with the log.config
property:

log.config.count=2
log.config.1=DEBUG.org.sakaiproject.mytool
log.config.2.ERROR.some.verbose.tool


D

On 01/19/2011 04:00 PM, Miguel Carro Pellicer wrote:
> Hi All.
>
> I want to know if exists a way to change the Log4J log level, the
> objective is to display only ERROR messages.
>
> I readed the documentation in confluence and works fine with kernel
> change, but our deployment is complete and we don't want to recompile
> the kernel again because we consider is a property.
>
> I want to know if exists a workaround to do that, maybe with
> java_opts? Maybe the file can be overwritten in tomcat?
>
> Thanks in advance, Miguel.
> -- 
>
> cid:image001.jpg at 01C9F98A.71C74E60 <http://www.samoo.es/>
>
>   <http://www.samoo.es/>
>
> *Miguel Carro Pellicer*
>
> *Technical Manager - Director técnico*
>
> miguel.carro at samoo.es <mailto:miguel.carro at samoo.es>
>
> +34 - 96 393 69 15
>
> www.samoo.es <http://www.samoo.es>
>
>  
>
> Este  correo  y  sus archivos asociados son privados y confidenciales
> y va dirigido  exclusivamente  a su destinatario. Si recibe este
> correo sin ser el  destinatario del mismo, le rogamos proceda a su
> eliminación y lo ponga en  conocimiento del emisor. La difusión por
> cualquier medio del contenido de  este  correo podría ser sancionada
> conforme a lo previsto en las leyes españolas, Ley Orgánica 15/1999 de
> Protección de Datos de Carácter Personal.  No  se autoriza la
> utilización con fines comerciales o para su incorporación a ficheros
> automatizados de las direcciones del emisor o del destinatario."
>
>  
>
> This mail and its attached files are confidential and are only and
> exclusively intended to their addressee. In case you may receive this
> mail not being its addressee, we beg you to let us know the error by
> reply and to proceed to destroy it. The circulation by any mean of
> this mail could be penalised in accordance with the Spanish
> legislation. Is not allowed the use of both, the transmitter and the
> addressee's, address with a commercial aim, or in order to be
> incorporated to automated data process or to any kind of files.
>
>  
>
> P Antes de imprimir este correo electrónico piense bien si es
> necesario hacerlo. El medioambiente es cosa de todos.
>
>  
>
>  
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110119/f8119420/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3022 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110119/f8119420/attachment.jpe 


More information about the sakai-dev mailing list