1 Revision history for Sys-Syslog
3 0.31 -- 2012.08.18 -- Sebastien Aperghis-Tramoni (SAPER)
4 [BUGFIX] Level 'emerg' could not be used since v0.29.
5 [BUGFIX] Setting a message facility with syslog() was broken since v0.29
7 [BUGFIX] CPAN-RT#69992: Make setlogsock() only use the requested mechanism,
8 restoring way it worked in v0.27 and before (Niko Tyni).
9 [BUGFIX] CPAN-RT#69986: setlogsock() doesn't return undef on failure
11 [BUGFIX] CPAN-RT#69997: Use the default UDP socket timeout on GNU/kFreeBSD
12 as well, and lower it to a more sensible value (Niko Tyni).
13 [BUGFIX] CPAN-RT#75827: syslog() logging everything regardless of log
14 mask when using using numeric LOG_* macros (Bryan Thale).
15 [TESTS] Added t/facilities-routing.t
16 [DOC] Don't highlight "the Rules of Sys::Syslog" from the Description.
17 [DIST] Add meta-information in Makefile.PL
19 0.30 -- 2012.08.15 -- Sebastien Aperghis-Tramoni (SAPER)
20 [BUGFIX] CPAN-RT#69310: Avoid a POSIX::strftime issue on Windows
22 [BUGFIX] CPAN-RT#77577: Build on Haiku-OS (Tony Cook).
23 [BUGFIX] CPAN-RT#77578: Silence a compilation warning (Tony Cook).
24 [BUGFIX] CPAN-RT#78044: Don't call getservbyname() when the port is
25 specified (Chan Wilson).
26 [TESTS] t/syslog.t no longer needs to chdir under PERL_CORE.
28 0.29 -- 2011.04.18 -- Sebastien Aperghis-Tramoni (SAPER) #PerlQA2011
29 [BUGFIX] CPAN-RT#55215: Sys::Syslog might call exit which triggers
30 DESTROY (Alexander Berger).
31 [BUGFIX] CPAN-RT#55151: Allow temporary facility with native mechanism
33 [BUGFIX] CPAN-RT#50928: Convert Win32 files to Unix EOLs (Steve Hay).
34 [BUGFIX] CPAN-RT#50534: Unwanted space at the end of syslog message
35 (Eugene V. Lyubimkin).
36 [BUGFIX] CPAN-RT#49877: Options not reset after closelog() (Herbert Brezina).
37 [BUGFIX] CPAN-RT#48386: Add Win32::EventLog as a prerequisite (kmx and
39 [FEATURE] CPAN-RT#50534: Added options noeol and nonul.
40 [DIST] Set INSTALLDIRS to "site" when installed on Perl 5.11+
42 0.28 -- 2011.04.16 -- Sebastien Aperghis-Tramoni (SAPER) #PerlQA2011
43 [BUGFIX] CPAN-RT#56084: Reset connection tracking vars (Vladimir Marek).
44 [BUGFIX] CPAN-RT#56826: Avoid memory corruption when closelog() is
45 called twice (Andreas Jaekel).
46 [BUGFIX] CPAN-RT#64287: Make strftime() Windows-compatible (Dave Stafford).
47 [FEATURE] New API for setlogsock(), in order to allow the setting
48 of new options. Thanks to Jake Scott for the idea.
49 [CODE] Modify can_load() so it can print the warnings if desired.
50 [CODE] CPAN-RT#44410: Provide fallback macros in Syslog.xs in
51 order to compile on Novell Netware.
52 [TESTS] In blead, the distribution was moved from ext/Sys/Syslog
53 to ext/Sys-Syslog. t/constants.t had to be fixed (Vincent Pit).
54 [TESTS] CPAN-RT#53317: In core, Sys-Syslog was moved to cpan/, thus
55 making t/constants.t unable to find macros.all (David Mitchell).
56 [TESTS] CPAN-RT#64716: Skip t/data-validation.t if the available
57 version of POE::Component::Server::Syslog is too old.
58 [DIST] Bleadperl no longer require an empty MAN3PODS (Nicholas Clark).
59 [DIST] Removed unneeded modules in Makefile.PL (Nicholas Clark).
60 [DOC] Recreated Sys::Syslog history from the unified git repository.
61 [DOC] Added a section to list the matching Perl and Sys::Syslog version.
62 [DOC] CPAN-RT#49859: Removed a dead link (Leon Brocard).
64 0.27 -- 2008.09.21 -- Sebastien Aperghis-Tramoni (SAPER)
65 [BUGFIX] Fixed compilation on Win32, thanks to Serguei Trouchelle.
66 Also added stubs so calling the XS functions will never fail.
67 [TESTS] t/pod.t now also uses Pod::Checker.
69 0.26 -- 2008.06.16 -- Sebastien Aperghis-Tramoni (SAPER)
70 [BUGFIX] Make Sys::Syslog works with Perl 5.10.0 (because of
71 ExtUtils::Constant::ProxySubs).
72 [CODE] setlogsock() is now a little more strict about its arguments.
74 0.25 -- 2008.05.17 -- Sebastien Aperghis-Tramoni (SAPER)
75 [BUGFIX] CPAN-RT#34691: Fixed an incorrect call to sysopen() which
76 prevented Sys::Syslog from working on some Solaris systems.
77 Thanks to Paul Townsend.
78 [BUGFIX] CPAN-RT#34753: Fixed a slowness introduced in v0.19 (which
79 was to work around OSX syslog own slowness). Thanks to Alex Efros.
80 [BUGFIX] CPAN-RT#35952: Fixed a bug with the "nofatal" option.
81 [BUGFIX] CPAN-RT#35189: Fixed a bug in xlate().
82 [BUGFIX] Fixed build on Win32, thanks to Adam Kennedy.
83 [FEATURE] setlogsock() now interprets the second argument as the
84 hostname for network mechanisms.
85 [DIST] Add AUTHOR to WriteMakefile() in order to fix the META.yml
86 generated by ExtUtils::MakeMaker.
87 [TESTS] Improved t/pod.t with Pod::Checker.
89 0.24 -- 2007.12.31 -- Sebastien Aperghis-Tramoni (SAPER)
90 [BUGFIX] CPANT-RT#32001: Skip the setlogsock('stream') tests when
91 /dev/log is unavailable (Brendan O'Dea).
93 0.23 -- 2007.11.12 -- Sebastien Aperghis-Tramoni (SAPER)
94 [BUGFIX] Fixed a too liberal test in the "pipe" mechanism, thanks
96 [DIST] fallback/syslog.h was missing from MANIFEST (thanks to CPAN
97 Tester Matthew Musgrove).
98 [TESTS] Better handling of Perl 5.005, thanks to CPAN Tester Slaven Rezic.
100 0.22 -- 2007.11.08 -- Sebastien Aperghis-Tramoni (SAPER)
101 [BUGFIX] CPAN-RT#29875: Added workaround SpamAssassin overzealous
103 [FEATURE] Added support for PERROR option.
104 [FEATURE] Support for SYSLOG on z/OS, thanks to Chun Bing Ge.
105 [CODE] Prevent $@ from being visible outside the module, in trying
106 to address the problem reported in CPAN-RT#29875.
107 [DOC] CPAN-RT#29451: Add Copyright notice. Thanks to Allison Randal
109 [DOC] New speaking about Win32 API instead of Win32 operating system.
111 0.21 -- 2007.09.14 -- Sebastien Aperghis-Tramoni (SAPER)
112 [BUGFIX] setlogsock(eventlog) returned true even when it shouldn't have.
113 [BUGFIX] CPAN-RT#24431: Added workaround for Mac OS X syslogd.
114 [FEATURE] Added "pipe" mechanism in order to support HP-UX named pipe.
115 Thanks to H.Merijn Brand and PROCURA.
116 [CODE] Sys::Syslog works again on Perl 5.005, thanks to Nicholas Clark.
118 0.20 -- 2007.09.05 -- Sebastien Aperghis-Tramoni (SAPER)
119 [DOC] Added README.win32 which was missing in MANIFEST.
121 0.19 -- 2007.09.05 -- Sebastien Aperghis-Tramoni (SAPER)
122 [BUGFIX] CPAN-RT#20635: Fix tests to avoid problems related to the
123 "stream" mechanism which occured on Debian and Cygwin.
124 [BUGFIX] CPAN-RT#20780: Facility could not be temporarily changed.
125 Also fixes the syslog() before openlog() bug.
126 [BUGFIX] CPAN-RT#21333: Makefile.PL now creates a typemap for Perl 5.6.1
127 [BUGFIX] CPAN-RT#21516: disconnect_log() now correctly calls closelog_xs().
128 [BUGFIX] CPAN-RT#21866: Silence warnings in openlog().
129 [BUGFIX] CPAN-RT#25488: Silence warnings in disconnect_log().
131 [BUGFIX] Rewrote the constants generation code in order to provide
132 fallback value for non-standard macros.
133 [BUGFIX] Mark Blackman and Edmund von der Burg identified and fixed the
134 random failures appearing on OSX, caused by a UDP timeout.
135 [FEATURE] Added Win32 event log support thanks to Yves Orton.
136 [FEATURE] Added new macros from modern BSD and IRIX.
137 [FEATURE] Each non-standard macro now fall backs to a standard macro.
138 [CODE] Merged changes from Jerry D. Hedden to use ppport.h only when not
139 built from core distribution (blead@30657).
140 [TESTS] t/syslog.t now generates a more detailled TAP output.
141 [TESTS] Merged change blead@29176: suppress taint mode from t/constants.t
142 [TESTS] Added regression tests for CPAN-RT#21866 and #25488.
143 [EG] Added example script eg/syslog.pl
144 [DOC] CPAN-RT#26097: man pages were not installed.
145 [DOC] Added the Sys::Syslog Rules.
147 0.18 -- 2006.08.28 -- Sebastien Aperghis-Tramoni (SAPER)
148 [BUGFIX] Rewrote the way the default identifiant is constructed.
149 [TESTS] CPAN-RT#20946: Removed the console mechanism from the main
150 test loop because writing to the console hangs on several systems.
151 [DOC] Added a note discouraging the use of setlogsock().
153 0.17 -- 2006.07.23 -- Sebastien Aperghis-Tramoni (SAPER)
154 [BUGFIX] CPAN-RT#20622, #20164: Fixed path handling in connect_unix().
155 [CODE] Renamed some variables ($that is not a valid name), and removed
157 [CODE] Actually added the macros from Mac OS X that were announced in
159 [DOC] CPAN-RT#20545: Rewrote the documentation about setlogsock().
161 0.16 -- 2006.06.20 -- Sebastien Aperghis-Tramoni (SAPER)
162 [BUGFIX] Perl-RT#20557: Save errno before trying to connect.
163 [FEATURE] Perl-RT#35406: Applied the patch proposed by Keisuke Hirata
164 for a more lax handling of "stream" or "unix" path.
165 [FEATURE] Now try the "native" mechanism first.
166 [TESTS] Silence warnings generated by t/syslog.t in Perl 5.8.8 and
168 [DOC] Added documentation about the "native" mechanism.
169 [DOC] Now indicates whether tickets are from CPAN or Perl RT.
171 0.15 -- 2006.06.10 -- Sebastien Aperghis-Tramoni (SAPER)
172 [FEATURE] CPAN-RT#17316: Added a "nofatal" option to openlog().
173 [FEATURE] Sys::Syslog warnings can now be controled by the warnings
174 category of the same name.
175 [FEATURE] Added support for using the native C syslog(3) functions.
176 [CODE] Removed most "our" variables.
177 [CODE] Improved readability by removing cargo-cult brackets and
180 0.14 -- 2006.05.25 -- Sebastien Aperghis-Tramoni (SAPER)
181 [BUGFIX] CPAN-RT#19259, #17518: Now allowing all levels and facilities.
182 [CODE] Removed useless "&".
183 [CODE] Improved readability by adding empty lines and reworking the
185 [CODE] Added new macros from Mac OS X.
186 [TESTS] Added more tests in order to increase coverage.
187 [DOC] CPAN-RT#19085: Corrected errors in the documentation for setlogmask().
188 [DOC] Added several links to online manual pages, RFCs and articles.
189 [DOC] Corrected minor things in Changes.
191 0.13 -- 2006.01.11 -- Sebastien Aperghis-Tramoni (SAPER)
192 [CODE] Applied Gisle Aas patch for a better handling of error messages,
194 [CODE] Merged blead@26768: If getservbyname fails tell what service
195 the lookup attempt tried to use.
196 [CODE] Merged blead@26769: suppress Sys::Hostname usage and directly
198 [CODE] Merged blead@26772: $host needs to stay in case the user sets it.
199 [CODE] Merged blead@26773: check that $syslog_path is a socket.
200 [TESTS] CPAN-RT#16980: Sys::Syslog blows up rather spectacularly on
201 Solaris. Corrected by previous patches.
202 [TESTS] CPAN-RT#16974: Failed test in t/podspell. This test is now skipped.
204 0.12 -- 2006.01.07 -- Sebastien Aperghis-Tramoni (SAPER)
205 [DOC] Added a link to an article about Sys::Syslog.
206 [TESTS] Merged some modifications from bleadperl.
207 [TESTS] Removed optional dependency on Test::Exception.
208 [TESTS] Improved t/constant.t
209 [TESTS] Rewrote t/constants.t because future versions of
210 ExtUtils::Constant will prevent the constant() function from
211 being directly called.
213 0.11 -- 2005.12.28 -- Sebastien Aperghis-Tramoni (SAPER)
214 [BUGFIX] setlogmask() now behaves like its C counterpart.
215 [FEATURE] Can now export and use the macros.
216 [FEATURE] Support for three Exporter tags.
217 [FEATURE] XSLoader is now optional.
218 [CODE] No longer "use"s Sys::Hostname as it was "require"d where needed.
219 [CODE] CPAN-RT#16604: Use local timestamp.
220 [DIST] Merged blead@26343: Fix realclean target.
221 [DOC] Improved documentation.
222 [TESTS] Added more tests to t/syslog.t in order to increase code coverage.
224 0.10 -- 2005.12.08 -- Sebastien Aperghis-Tramoni (SAPER)
225 [DOC] Improved documentation.
226 [TESTS] Added -T to t/syslog.t
227 [TESTS] Added t/constants.t to check the macros.
228 [TESTS] Added t/distchk.t, t/podspell.t, t/podcover.t, t/portfs.t
230 0.09 -- 2005.12.06 -- Sebastien Aperghis-Tramoni (SAPER)
231 [BUGFIX] Escape percent signs in error message when interpolating %m
233 [CODE] Now setlogsock() really croak(), as documented.
234 [DIST] CPANized from blead@26281.
235 [DIST] Modified Makefile.PL so that ExtUtils::Constant is conditionaly
236 used, with a fallback in the case it's not available.
237 [DIST] Bumped version to 0.09
238 [DOC] Added support and license information.
239 [TESTS] Rewrote and ported t/syslog.t to Test::More
242 [FEATURES] syslog() can now accept a message without printf() escapes
243 and arguments (Gisle Aas ).
244 [DOC] Document that openlog() might die (Rafael Garcia-Suarez).
247 [CODE] Use XSLoader instead of DynaLoader (Alexey Tourbin).
248 [DOC] Shows the correct way to use syslog() (Dave Mitchell).
251 [FEATURE] Allow escaping %m as %%m in Sys::Syslog format strings (Rafael
252 Garcia-Suarez, suggested by Joshua Richardson and Yitzchak Scott-Thoennes).
253 [CODE] Make Sys::Syslog stricture-compliant (Rafael Garcia-Suarez).
254 [DOC] Document $Sys::Syslog::host (Jay Hannah).
257 [FEATURE] IRIX wants setlogsock("stream") (Jarkko Hietaniemi).
258 [FEATURE] Allow syslog() to use numeric constants in addition to strings
259 for facility names and priorities (Jim Schneider ).
260 [DOC] Remind users to always use openlog() (Jarkko Hietaniemi).
263 [BUGFIX] Do not use "udp" on some platforms (Slaven Rezic).
264 [BUGFIX] Perl-RT#18180: Fixed a problem with Sys:Syslog on Solaris 8
265 with perl 5.8.0 (Joost van Baal).
266 [BUGFIX] Fixed some warnings (Jarkko Hietaniemi).
267 [BUGFIX] Better error messages (Jari Aalto).
270 [BUGFIX] Fixed copious warnings from Sys::Syslog (Andreas König).
271 [FEATURE] Failover to different communication modes by Nick Williams.
274 [BUGFIX] /dev/console may not be writable in Syslog.pm (Ask Bjoern Hansen).
275 [BUGFIX] Fixed for accidental arguments to autoloaded constants (Gurusamy Sarathy).
276 [BUGFIX] Make _PATH_LOG() return "" if not available (Gurusamy Sarathy).
277 [BUGFIX] Forked child may not exit correctly if it failed to open
278 /dev/console (Graham Barr).
279 [BUGFIX] More checking in case someone has broken their services or
280 protocol databases (Robert Spier).
281 [BUGFIX] xlate() doesn't handle LOG_EMERG (Mark J. Reed).
282 [CODE] Code for constant()s regenerated by Nicholas Clark.
283 [TESTS] Added syslog.t to check if Sys::Syslog works (Tom Hughes).
285 0.01 -- 2000.02.04 -- Gurusamy Sarathy
286 [FEATURE] Sys::Syslog now uses XSUBs to access facilities from syslog.h
287 so it no longer requires syslog.ph to exist. Thanks to Tom Hughes.
288 As a consequence, Sys::Syslog moved from lib/ to ext/.
290 perl 5.004_03 -- 1997.09.05 -- Tim Bunce
291 [BUGFIX] Handle missing _PATH_LOG (Ulrich Pfeifer).
293 perl 5.004_02 -- 1997.08.07 -- Tim Bunce
294 [FEATURE] UNIX domain sockets support, by Sean Robinson and Tim Bunce.
296 perl 5.004_01 -- 1997.06.11 -- Tim Bunce
297 [BUGFIX] Allows FQDN (even allowing "_").
299 perl 5.004 -- 1997.05.15 -- Chip Salzenberg
300 [BUGFIX] Fixed $whoami calulation (Marc Rouleau).
301 [BUGFIX] Allows hyphens in hostnames (Jerome Abela).
303 perl 5.003_01 -- 1996.06.18 -- Charles Bailey
304 [CODE] Moved call to hostname() into connect() function, and eliminated
306 [DOC] Correct documentation for calling sequence of syslog() function.
308 perl 5.002_01 -- 1996.03.25 -- Charles Bailey
309 [CODE] Use Sys::Hostname::hostname() only when necessary.
311 perl 5.002 -- 1996.02.29 -- Larry Wall
312 [CODE] Use constants from Socket.pm (Andy Dougherty).
313 [CODE] Connect to the name given by Sys::Hostname::hostname() instead
314 of "localhost" (Andy Dougherty).
315 [DOC] Added documentation, thanks to Hallvard B Furuseth.
317 perl 5.000 -- 1994.10.17 -- Larry Wall
318 [DIST] Converted from lib/syslog.pl to lib/Sys/Syslog.pm