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