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