Log file help

They have: 5,633 posts

Joined: Jan 1970

Does anybody have experience with log files? I have two domains on the same server, and one set of log files for the server. I've had no luck pulling any information for the second domain in WebTrends and Sawmill. Help!

Busy's picture

He has: 6,151 posts

Joined: May 2001

If the domains have seperate control panels you'll have two sets of logs.
If one of the domains is a sub domain of the other you'll only have one set.

Probably the only way to view/sort your logs would be manually

Abhishek Reddy's picture

He has: 3,348 posts

Joined: Jul 2001

If there is some identifier marking which site each line belongs to, you could use regexp to grab the lines. If you have grep and cat in a bash terminal, you might do something like:

$ cat mylogfile.txt | grep firstsiteidentifier > firstsitelogfile.txt
$ cat mylogfile.txt | grep secondsiteidentifier > secondsitelogfile.txt
'
Forgive me if that's incorrect. I'm not in a position to test it at the moment. Smiling

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.