LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   error types in server log (https://www.linuxquestions.org/questions/linux-newbie-8/error-types-in-server-log-532225/)

grob115 02-25-2007 08:00 AM

error types in server log
 
Hi,

Can someone please explain what are the differences between the following two log entries? Both are due to file not found but the first one is logged with a time and flagged with [error] whereas the second one is logged without a time and doesn't have the [error] flag

Code:

[Tue Feb 20 19:36:41 2007] [error] [client 59.168.85.158] File does not exist: /home/virtual/webroot/htdocs/ubb6
[client 75.52.236.194] script '/home/virtual/webroot/htdocs/register.php' not found or unable to stat


Matir 02-26-2007 07:52 PM

I assume both appear in the same logfile? Otherwise, different files might have different log formats.

grob115 02-28-2007 05:20 AM

Hi, yes. They are logged in the same file. So why are the entries logged differently on the same file?


All times are GMT -5. The time now is 01:24 AM.