M
M
Meksvinz2018-09-20 10:25:10
Squid
Meksvinz, 2018-09-20 10:25:10

How to change the location of the squid "access.log" entry?

OS - Centos 7
I can't find an option in the config that would allow me to change the location of the access.log entry to another location (for example, to a folder in the home partition). Currently, the entry is made in /var/log/squid/access.log. Interested in whether it is possible to change the recording location at all and how to do it. Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
ISE73, 2018-09-20
@ISE73

Look in the configuration file /etc/squid/squid.conf access_log

C
CityCat4, 2018-09-20
@CityCat4

logformat squid      %ts.%03tu %6tr %>a %Ss/%03>Hs %<st %rm %ru %[un %Sh/%<a %mt
access_log daemon:/var/log/squid/access.log squid

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question