| 1 |
# ipp-usb.conf: example configuration file |
| 2 |
|
| 3 |
# Networking parameters |
| 4 |
[network] |
| 5 |
# TCP ports for HTTP will be automatically allocated in the following range |
| 6 |
http-min-port = 60000 |
| 7 |
http-max-port = 65535 |
| 8 |
|
| 9 |
# Enable or disable DNS-SD advertisement |
| 10 |
dns-sd = enable # enable | disable |
| 11 |
|
| 12 |
# Network interface to use. Set to `all` if you want to expose you |
| 13 |
# printer to the local network. This way you can share your printer |
| 14 |
# with other computers in the network, as well as with iOS and Android |
| 15 |
# devices. |
| 16 |
interface = loopback # all | loopback |
| 17 |
|
| 18 |
# Enable or disable IPv6 |
| 19 |
ipv6 = enable # enable | disable |
| 20 |
|
| 21 |
# Logging configuration |
| 22 |
[logging] |
| 23 |
# device-log - per-device log levels |
| 24 |
# main-log - main log levels |
| 25 |
# console-log - console log levels |
| 26 |
# |
| 27 |
# parameter contains a comma-separated list of |
| 28 |
# the following keywords: |
| 29 |
# error - error messages |
| 30 |
# info - informative messages |
| 31 |
# debug - debug messages |
| 32 |
# trace-ipp, trace-escl, trace-http - very detailed per-protocol traces |
| 33 |
# all - all logs |
| 34 |
# trace-all - alias to all |
| 35 |
# |
| 36 |
# Note, trace-* implies debug, debug implies info, info implies error |
| 37 |
device-log = all |
| 38 |
main-log = debug |
| 39 |
console-log = debug |
| 40 |
|
| 41 |
# Log rotation parameters: |
| 42 |
# max-file-size - max log file before rotation. Use suffix M |
| 43 |
# for megabytes or K for kilobytes |
| 44 |
# max-backup-files - how many backup files to preserve during rotation |
| 45 |
# |
| 46 |
max-file-size = 256K |
| 47 |
max-backup-files = 5 |
| 48 |
|
| 49 |
# Enable or disable ANSI colors on console |
| 50 |
console-color = enable # enable | disable |
| 51 |
|
| 52 |
# vim:ts=8:sw=2:et |