View Full Version : error_log
turteltaub
2-1-04, 09:11 AM
Where do I add the "error_log" file?
My "logs" folder has an access_log file but no error_log.
Thanks
You don't. It will be created automatically if there are errors. Try accessing a non-existent file and see.
turteltaub
2-1-04, 09:10 PM
Thanks for your suggestion.
Actually, I did access a non-existent page and the error_log wasn't created.
Any ideas?
now thats funny :D:rolleyes: :D :D :D :D :D
snowmaker
2-3-04, 04:56 AM
error logging has to be turned on in ops i think, it's not on by default.
-b
I have never seen such an option in OPS and have never used it - I always get the error logs automatically.
turteltaub
2-3-04, 07:10 AM
Thanks for the replies.
Some powweb documents do indeed say that you must turn "logging" on. However, I have been unable to find a "logging" option at ops. Also, "logging" would include the access_log file, but that option is working properly.
snowmaker
2-3-04, 01:22 PM
I have never seen such an option in OPS and have never used it - I always get the error logs automatically.
i must've been thinking about webstats, my brain sometimes doesnt work right at 4am.
-b
turteltaub
2-3-04, 05:52 PM
Mystery solved
Gary G. from tech support, told me that powweb's apache configuration does not include an error-log. You have to extract errors by scanning the access_log file.
Thanks to everyone for the assistance
I'm sure I'm not alone when I say that the file-naming of error_log & access_log sans a *.log or *.txt extension is really stupid. Ditto for that .htaccess thing.
Yes Powweb and probably the majority of today's servers may be running Unix, but most of us users out in the real world are running Windoze, which doesn't understand filenames without something on each side of the ".".
Surely e.g log files could be named
error.log
error01.log
error02.log
so we wouldn't have to stand on our head to open them.
SimonBar
7-13-04, 01:01 PM
I'm sure I'm not alone when I say that the file-naming of error_log & access_log sans a *.log or *.txt extension is really stupid. Ditto for that .htaccess thing.
Yes Powweb and probably the majority of today's servers may be running Unix, but most of us users out in the real world are running Windoze, which doesn't understand filenames without something on each side of the ".".
Surely e.g log files could be named
error.log
error01.log
error02.log
so we wouldn't have to stand on our head to open them.
With large batches of log files with extensions Win dosen't recognize, I either use a file renamer to change the extensions to ".txt" or I associate them (as they are with original .ext) with notepad and it opens them automatically by double-clicking on them (right click on file, choose "open with" and pick the program, if you'd like to keep the association check the "always open with this program" option. If not (like previously mentioned, this is standing on your head) dont check the option and do this every time you want to open a file of this type.
Logging is not controlled through OPS. Logging is not done unless there is a logs directory in the same directory as htdocs. Once the directory is created logging shoudl begin immediately for both access and errror logs. We do provide both so I am not sure why Gary informed you that we do not.
The filenames "access_log" and "error_log" are the default file names used by apache. We have used these file names for 5 years and we will continue using them. It is very easy to do whatever you possibly need to do with them with those names. Changing them would cause many problems for people who have cronjobs and webstats already running.
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.