Open Bug 1600799 Opened 6 years ago Updated 11 months ago

debug output needed for the following cronjobs in BMO

Categories

(bugzilla.mozilla.org :: General, task)

task
Not set
normal

Tracking

()

People

(Reporter: ckolos, Unassigned)

Details

The following scripts, when run via cron, emit no useful information other than they do indeed run. We'd like to start tracking logging metrics for these jobs so meaningful output would be very helpful.

update.pl
send-request-nags.pl
clean-bug-user-last-visit.pl
whine.pl
collectstats.pl
secbugsreport.pl
bugzilla.pl

Even something as simple as "NO ERRORS" or "ERROR" would be nice to have.

Assignee: nobody → dkl

Thinking on this, I think something like the following would be nice

ScriptName: <script name> Result:<Success/Failure> Metric:<how many  "things" were changed, deleted, sent, etc.>

Just an idea.

Flags: needinfo?(dkl)

Sorry, final update, I promise...

These should actually be emitted in MozLog format; otherwise, we can't parse them in StackDriver.

Summary: Please add some sort of debug output to the following cronjobs → debug output needed for the following cronjobs in BMO

Clearing needinfo but leaving open as this would a nice to have at some point.

Assignee: dkl → nobody
Flags: needinfo?(dkl)
Component: Administration → Infrastructure
Component: Infrastructure → General
You need to log in before you can comment on or make changes to this bug.