Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

log message library to support for multiple plugins.

Kiran Muthoju {Appfire} July 10, 2018

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?

 

 

1 answer

0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 11, 2018

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

Kiran Muthoju {Appfire} July 11, 2018

Thanks for update. I requested on developer community.

Suggest an answer

Log in or Sign up to answer