Book Image

CUPS Administrative Guide

By : Ankur Shah
Book Image

CUPS Administrative Guide

By: Ankur Shah

Overview of this book

Table of Contents (16 chapters)
CUPS Administrative Guide
Credits
About the Author
Acknowledgement
About the Reviewer
Preface

Overview of the access_log File


The access_log file lists each HTTP resource that is accessed by a web browser or a CUPS/IPP client. The file contains the lines specified in the following log format, which is an extension of the Common Log Format used by many web servers and web reporting tools.

Note

The "Common Log Format" is a standardized text file format used by web servers while generating log files. As the format is standardized, the files may be analyzed by a variety of analysis programs.

The syntax of the access_log file is :

host group user date-time \"method resource version\"
status bytes iPP-operations ipp-status
  • Hostname: The host field contains the IP address or hostname that can be seen if the "HostNameLookups" directive is enabled in the cupsd.conf file.

  • Groupname: The value always remains "-" for the group field.

  • Username: The user field is the authenticated username of the requesting user. If no authenticated username is supplied for the request, then this field contains...