Page 1 of 1

Split log file

Posted: Wed 10. Oct 2018, 09:51
by Vito
Is there any way to have separate log file for each domain?

I mean, I have couple domains and it make very difficult to analyze data :(

Re: Split log file

Posted: Wed 10. Oct 2018, 12:41
by Tobi
Have a look here:
viewtopic.php?t=1406

This works fine for me.

Hopefully you can read German ;)
Otherwise I would have to translate it to English.

Oh, No, Please Not!
:mrgreen:

Re: Split log file

Posted: Wed 10. Oct 2018, 12:44
by Vito
I wish, but no :mrgreen:

thats why I'm in English section, maybe google translate help me :?

Re: Split log file

Posted: Wed 10. Oct 2018, 13:13
by Tobi
ask if you don't get it translated.
I'll help you

Re: Split log file

Posted: Wed 10. Oct 2018, 16:55
by Vito
Well, heavy stuff, understand 50%.

If i use this method, what happens with current data in access.log?

also i found tool "goaccess" you can probably use it to view statistics for each domain from a single file. probably...

Re: Split log file

Posted: Wed 10. Oct 2018, 17:59
by Tobi
Vito wrote: Wed 10. Oct 2018, 16:55 Well, heavy stuff, understand 50%.
If you unterstood the important 50%, that´s enough :lol:
Vito wrote: Wed 10. Oct 2018, 16:55 If i use this method, what happens with current data in access.log?
The current logfiles remain unchanged.
It only changes the behaviour of future logfiles.
After the patch is applied and active it will generate separate logfiles for all your domains.
But only the access logfiles. errorlogs etc. are also unchanged.

Re: Split log file

Posted: Thu 11. Oct 2018, 02:40
by Vito
If think the simplest way to go is one user = one domain :(


Devs
This is really not good idea have one access.log for ALL domains
nobody does that now. at least the last 10 years..

Re: Split log file

Posted: Thu 11. Oct 2018, 10:15
by select name from me;
Vito wrote: Wed 10. Oct 2018, 12:44 I wish, but no :mrgreen:

thats why I'm in English section, maybe google translate help me :?
Better use this:
https://deepl.com/translator

Just copy the german text in the left textarea field.

Re: Split log file

Posted: Wed 31. Oct 2018, 22:28
by Tobi
select name from me; wrote: Thu 11. Oct 2018, 10:15 Better use this:
https://deepl.com/translator
My English has never been better :lol:

Re: Split log file

Posted: Thu 1. Nov 2018, 14:06
by select name from me;
:lol: