Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Proposed changes to squid package: log directives

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 2 Posters 572 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      Valeriy
      last edited by

      Squid configuration in recent version uses different format for specifying log output destination

      Please add stdio: before file path:

      access_log stdio:/var/squid/logs/access.log
      cache_log stdio:/var/squid/logs/cache.log
      cache_store_log stdio:/var/squid/logs/store.log
      netdb_filename stdio:/var/squid/logs/netdb.state

      Source: http://www.squid-cache.org/Doc/config/cache_store_log/
      Also Squid still runs and write data to logs, but it complains, when /var/squid/logs/*****.log is used

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        Too bad that every time I find some time to spare to work on providing more logging options (the thing described here is pretty much a non-issue), it ends up like this:

        http://wiki.squid-cache.org/

        Internal Server Error
        The server encountered an internal error or misconfiguration and was unable to complete your request.
        Please contact the server administrator at webmaster@squid-cache.org to inform them of the time this error occurred, and the actions you performed just before this error.
        More information about this error may be available in the server error log.

        The Squid bugzilla has been giving me a database error for ~2 weeks without anyone there giving a damn.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.