mirror of
https://github.com/b4tman/docker-squid.git
synced 2024-11-22 11:16:55 +00:00
logging to stdout
This commit is contained in:
parent
880ff47f40
commit
711ae72e14
@ -110,6 +110,9 @@ RUN set -x && \
|
||||
cd / && \
|
||||
rm -rf /tmp/build "$GNUPGHOME"
|
||||
|
||||
COPY squid-log.conf /etc/squid/squid-log.conf
|
||||
RUN echo 'include /etc/squid/squid-log.conf' >> "$SQUID_CONFIG_FILE"
|
||||
|
||||
VOLUME ["/var/cache/squid"]
|
||||
EXPOSE 3128/tcp
|
||||
|
||||
|
4
squid-log.conf
Normal file
4
squid-log.conf
Normal file
@ -0,0 +1,4 @@
|
||||
logfile_rotate 0
|
||||
cache_store_log none
|
||||
access_log stdio:/proc/self/fd/1
|
||||
cache_log stdio:/proc/self/fd/2
|
Loading…
Reference in New Issue
Block a user