summaryrefslogtreecommitdiff
path: root/scheduler/log.c
Commit message (Collapse)AuthorAgeFilesLines
* scheduler/log.c: Use [Job N] even for syslogRose2021-09-111-4/+0
| | | Cherry picked from https://github.com/OpenPrinting/cups/pull/154
* Address multiple minor issues reported by the LGTM security scanner:Michael R Sweet2019-11-181-8/+8
| | | | | | | | - Lots of usage of localtime and gmtime (use _r/_s versions instead - Issue #5685) - Some unnecessary comparisons - Suppress checks that are not useful (header guards, short global names, and the integer overflow checks which don't reflect the actual range of values)
* Fix auto-debug logging of job errors with systemd (Issue #5337)Michael R Sweet2018-06-181-45/+40
|
* Fix crash when AccessLog is NULL (Issue #5309)Michael R Sweet2018-06-181-4/+5
|
* Same as Lutz Heermann, but for PageLog - respect PageLog configuration when ↵Zdenek Dohnal2018-01-291-1/+1
| | | | compiled with journald
* Respect AccessLog configuration when compiled against journald.Lutz Heermann2017-11-281-1/+1
|
* License change: Apache License, Version 2.0.Michael R Sweet2017-11-071-5/+1
|
* The scheduler's `-t` option did not force all errors to the standard errorMichael Sweet2017-07-191-1/+1
| | | | file, making debugging of configuration problems hard (Issue #5041)
* Fix logging when "-t" is used (always to stderr).Michael Sweet2017-07-191-4/+14
|
* Fix source file header text duplication text duplication.Michael R Sweet2017-01-161-1/+1
| | | | Bump copyright to 2017 in web interface and README files.
* Drop remainder of ASL logging code since it is deprecated in macOS Sierra.Michael R Sweet2016-10-201-177/+18
|
* The scheduler now logs informational messages for jobs at LogLevel "info"Michael Sweet2016-05-161-10/+4
| | | | (Issue #4815)
* Remove all of the Subversion keywords from various source files.Michael R Sweet2016-04-111-7/+0
|
* Escape strings in error_log output (<rdar://problem/23133466>)msweet2015-10-231-2/+1
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12925 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fix another journald issue, and partially revert the systemd change so thatmsweet2015-08-311-1/+1
| | | | | | | CUPS 2.1 builds with systemd support on RHEL 7. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12857 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fix another "new logging" bug for journald only this time (STR #4690)msweet2015-08-131-1/+1
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12843 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fix another bug in the new logging code (STR #4687)msweet2015-08-101-2/+2
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12842 a1ca3aef-8c08-0410-bb20-df032aa958be
* More journald/asl logging bug fixes (STR #4661)msweet2015-07-301-21/+30
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12816 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fix logging of printer URI (STR #4658)msweet2015-07-021-3/+5
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12774 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fix journald support (STR #4655)msweet2015-07-021-0/+2
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12773 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fix build errors on Linux for new journald logging.msweet2015-06-041-20/+17
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12691 a1ca3aef-8c08-0410-bb20-df032aa958be
* Add support for logging to stderr (STR #4505)msweet2015-06-031-0/+10
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12689 a1ca3aef-8c08-0410-bb20-df032aa958be
* Add support for ASL and journald when doing "syslog" logging (STR #4474)msweet2015-06-031-17/+321
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12687 a1ca3aef-8c08-0410-bb20-df032aa958be
* More man page updates.msweet2014-06-111-2/+37
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11920 a1ca3aef-8c08-0410-bb20-df032aa958be
* <rdar://problem/16495000> CUPS: Disable gratuitous logging by defaultmsweet2014-04-021-1/+3
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11789 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fix build errors on Fedora.msweet2014-02-141-1/+1
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11594 a1ca3aef-8c08-0410-bb20-df032aa958be
* Full sweep of all Clang warnings, plus some bug fixes for incorrect memcpy ↵msweet2014-02-061-31/+22
| | | | | | usage. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11558 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fix <rdar://problem/15331639> cups.org: Regression in auto-debug loggingmsweet2013-10-281-3/+4
| | | | | | | Need to use memcpy instead of strlcpy or strcpy. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11366 a1ca3aef-8c08-0410-bb20-df032aa958be
* Save work.msweet2013-09-301-25/+68
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11321 a1ca3aef-8c08-0410-bb20-df032aa958be
* Log power messages.msweet2013-09-271-8/+19
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11313 a1ca3aef-8c08-0410-bb20-df032aa958be
* Update svn:keyword properties.msweet2013-05-291-2/+2
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10996 a1ca3aef-8c08-0410-bb20-df032aa958be
* Sync up with CUPS 1.7svn-r10893msweet2013-03-111-15/+20
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@4216 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.7svn-r10629.msweet2012-10-011-4/+4
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3933 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.6svn-r10188, including changes for ↵msweet2012-01-191-10/+38
| | | | | | <rdar://problem/10127258> CUPS 1.6: New printer/printing APIs git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3618 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.6svn-r9968.msweet2011-09-071-1/+1
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3411 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.6svn-r9939.msweet2011-08-311-8/+5
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3392 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5.1-r9875.msweet2011-08-091-10/+10
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3363 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5b1-r9798.msweet2011-05-201-1/+2
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3275 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r9717.msweet2011-04-221-183/+227
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3171 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r9567msweet2011-02-251-2/+3
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3015 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r9352.msweet2010-11-061-1/+1
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@2848 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r9037.msweet2010-03-111-3/+4
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1968 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.4svn-r8628.msweet2009-05-131-4/+51
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1495 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.4svn-r8540.msweet2009-04-221-1/+2
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1432 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.4svn-r8469.msweet2009-03-251-1/+5
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1338 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.4svn-r8346.msweet2009-02-111-1/+1
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1212 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.4svn-r8305.msweet2009-01-291-17/+35
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1166 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.4svn-r8162.msweet2008-12-061-1/+1
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1079 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.4svn-r7961.msweet2008-09-171-2/+2
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@969 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.4svn-r7932.msweet2008-09-101-1/+21
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@957 a1ca3aef-8c08-0410-bb20-df032aa958be