How to Merge Multiple Apache Log Files when Migrating Servers.

Here’s a little howto on merging multiple apache log files when you are migrating servers or want to consolidate your logs into one place. This works on ubuntu and debian, but your mileage may vary on other OS’s. Here’s the howto: Login to old server scp old log files over, to the admin home directory, in /logs # scp -r /home/username/logs/ <username@yournewserver>: If copying multiple directories, and you want to call them something other than logs do this:...

September 3, 2008 · 3 min · 462 words · Matt G