Squid configuration directive cache_log_message
This directive is not available in the v5 version of Squid.
This directive is not available in the v4 version of Squid.
For older versions than v4 see the linked pages above
Configuration Details:
Option Name: | cache_log_message |
---|---|
Replaces: | |
Requires: | |
Default Value: | Use debug_options. |
Suggested Config: |
|
Configures logging of individual cache.log messages. cache_log_message id=<number> option... cache_log_message ids=<number>-<number> option... Most messages have _not_ been instrumented to support this directive yet. For the list of instrumented messages and their IDs, please see the doc/debug-messages.txt file. Message ID corresponds to the message semantics rather than message text or source code location. The ID is stable across Squid instances and versions. Substantial changes in message semantics result in a new ID assignment. To reduce the danger of suppressing an important log message, the old IDs of removed (or substantially changed) messages are never reused. If more than one cache_log_message directive refers to the same message ID, the last directive wins. Use ids=min-max syntax to apply the same message configuration to an inclusive range of message IDs. An ID range with N values has exactly the same effect as typing N cache_log_message lines. At least one option is required. Supported options are: level=<number>: The logging level to use for the message. Squid command line options (-s and -d) as well as the debug_options directive control which levels go to syslog, stderr, and/or cache.log. In most environments, using level=2 or higher stops Squid from logging the message anywhere. By default, the hard-coded message-specific level is used. limit=<number>: After logging the specified number of messages at the configured (or default) debugging level DL, start using level 3 (for DL 0 and 1) or 8 (for higher DL values). Usually, level-3+ messages are not logged anywhere so this option can often be used to effectively suppress the message. Each SMP Squid process gets the same limit. |
|
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products
Miscellaneous
- Developer Resources
- Related Writings
- Related Software:
- Squid Artwork
Web Site Translations
Mirrors
- Website:
- gr il pl ... full list
- FTP Package Archive