Modify

Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#12013 closed enhancement (wontfix)

Add logging

Reported by: Keluri Owned by: Jun Omae
Priority: low Component: TracWorkflowAdminPlugin
Severity: trivial Keywords:
Cc: Trac Release:

Description

Looking at the source, I can't find any logging statements. While this is a minor plugin, it would be nice to have debug logging for troubleshooting

Attachments (0)

Change History (6)

comment:1 Changed 10 years ago by Jun Omae

Trac Release: 1.2

comment:2 Changed 10 years ago by Jun Omae

Resolution: fixed
Status: newclosed

In 14209:

tracworkflowadmin: added logging handled exceptions (closes #12013)

comment:3 Changed 10 years ago by Jun Omae

I will not add logging any more because unhandled exceptions will be logged by Trac core.

comment:4 in reply to:  3 Changed 10 years ago by Keluri

Replying to jun66j5:

I will not add logging any more because unhandled exceptions will be logged by Trac core.

Yes, but exceptions aren't the only things that are normally logged. At present, the inner-workings of the plugin are completely opaque to the user - If something breaks that isn't a fatal exception, then the user doesn't have any information that could be useful in tracking down and fixing the problem. Aside from this, more than errors are logged in an application such as Trac. Logging information gives administrators an overview into the activities performed by users. By logging, for example, who uses the workflow !admin panel, an administrator can pinpoint who broke the workflow system.

I'm completely willing to add logging myself - It's not that hard to do.

comment:5 Changed 10 years ago by Jun Omae

Priority: normallow
Resolution: fixed
Severity: normaltrivial
Status: closedreopened

t:PatchWelcome. Could you please post patch for that?

comment:6 Changed 10 years ago by Jun Omae

Resolution: wontfix
Status: reopenedclosed

No feedback. Closing.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.