Log Access Apache

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Log Access Apache

Postby albinoed » 25. April 2018 14:01

Hello, I installed Xampp and I would like to know how I do manage the apache log file, my log file is 50 MB and in the future I will have problems, it is possible to delimit a size and after reaching the size, the log file auto recycle?
Another question how do I log file to register the network user who accesses a page in PHP?
Thank you !
albinoed
 
Posts: 1
Joined: 25. April 2018 13:53
XAMPP version: v3.2.2
Operating System: windows

Re: Log Access Apache

Postby Nobbie » 26. April 2018 11:05

albinoed wrote: it is possible to delimit a size and after reaching the size, the log file auto recycle?


I dont know for Windows (i do not recommend Apache under Windows anyway, I prefer Linux), but for Linux there is a tool called "logrotate" (Google!). Maybe there is something similar for Windows.

albinoed wrote: Another question how do I log file to register the network user who accesses a page in PHP?


I do not understand that, sorry.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Log Access Apache

Postby Altrea » 26. April 2018 11:06

logrotate is available as Apache Module from ApacheLounge
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 109 guests