Bug 13889: Provide parameter $infos in cronlogaction()
authorMarc Véron <veron@veron.ch>
Tue, 21 Apr 2015 15:19:06 +0000 (17:19 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 4 May 2015 14:12:00 +0000 (11:12 -0300)
commita9a8abb32f0cb1b7eb8acfc2ff1d97bc1181c64a
treeb30f0c0b07793137a6912dafa5d5fabc41e56abf
parent00faa967bd011cacb6e274b7fa283e289920ad7c
Bug 13889: Provide parameter $infos in cronlogaction()

(Alternative for patch Bug 13889: Log with parameters)

To test:

- Apply patches interactive and skip following patch:  Bug 13889: Log with parameters
- Tweak a cron job in order to call cronlogaction twice, one with a param at the beginning of the cron ob, e.g.
cronlogaction("This is my message") and one without param.
- Run this cron job.
Result: You should have two entries in the log, one with and one without additional information after the path and name of the calling script.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Log.pm