[opencms-dev] How to write msgs to opencms log file

Emilio escoembulma at terra.es
Wed Dec 17 11:13:02 CET 2003


Salvador Santander Gutierrez escribió:

> How can I write error msgs to opencms log file?
> Thanks.


Hi, I know a way to do it
 
import com.opencms.core.*;
 
A_OpenCms.log(A_OpenCms.C_OPENCMS_INFO, "Text in log");
 
I think that the constant A_OpenCms.C_OPENCMS_INFO could be modified if 
you want logged a error or a phrase to debug




More information about the opencms-dev mailing list