merging log files help please
I have a directory of my error log files from apache.
I want to merge all of these files into one log file. There are so few errors from my site that I dont want to have an error log from every day as most of them are empty. Is there a shell command to extract all entries from all of the logs and output it to one log file. Im sure there is a way to do this. The only thing I fould on google was a link to a webmasterworld.com article that would explain how to do this but they wanted $80 to subscribe. These logs come from my hosting company so I can not modify apache to only keep one log file for errors. Any help would be greatly appreciated! Thanks in advance |
cat
See man cat for help. HC |
thanks
Thanks, I knew Id get a quick reply. It worked great.
Im learning something new everyday! Thanks Again HC |
Glad I could help :-)
HC |
All times are GMT -5. The time now is 11:10 PM. |