Provide to Administrators to be able to troubleshoot their configuration as close to the source of the transition as possible. It is not feasible for them to search through log messages on the system, and it's even possible they do not have access to those files.
Providing the Log messages viewable as part of the UI.
Does any java api so that I can capture the log messages. so that I can store in the DB.
Using active objects I am able store the data into the DB but it should be current plugin.
I am looking for library to support for multiple plugins.
1) Can I use one table store the multiple plugins log messages data?
2) Can I integrate the AspectJ to implement for all the plugins ?
3) Any atlassian api to support?
Hi Kiran,
System administrators for Jira server should absolutely have access to their log files. File system access is a requirement for installing and upgrading Jira.
Several existing plugins even provide the functionality to view logs through the web interface - here are a few:
Since it seems you need to build this functionality into plugins you're working on, I'd suggest asking on our dedicated Developer Community about the specific pieces needed to pull log info back into the application. Storing log events in the database can lead to performance issues. Writing the logs to disk (many plugins seem to do this) and then reading them back into the interface if necessary is probably the best approach.
Cheers,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.