[LAS-437] log method does not work with monitoring Created: 09/Apr/18  Updated: 08/May/18  Resolved: 08/May/18

Status: Closed
Project: las2peer
Component/s: Core, las2peer Monitoring
Affects Version/s: None
Fix Version/s: v0.8.0, v0.7.4

Type: Improvement Priority: Minor
Reporter: Alexander Neumann Assignee: Jan Benscheid
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: 5 minutes
Original Estimate: Not Specified

Fix Release Date: 8/May/18

 Description   

Since las2peer 0.7, there is a new log method. Unfortunately, the new method does not log into the monitoring database. 

The old method (logEvent) is deprecated but still working. 



 Comments   
Comment by Peter de Lange [ 10/Apr/18 ]

Oh my. Should be a quick fix though? Can you do it?

Comment by Alexander Neumann [ 10/Apr/18 ]

The wiki refers to Context.get().monitorEvent which working. The Javadoc refers to the log method. The Javadoc for the deprecated method should also include the monitorEvent method or there should only be one method for logging. 

Comment by Peter de Lange [ 10/Apr/18 ]

Thanks for the investigation. I'll talk with Jan Benscheid about this, I think it makes sense to have this clearly documented and unmistaken. We don't want people to have problems using MobSOS, do we?

 

Generated at Mon Mar 25 09:44:38 CET 2019 using JIRA 7.8.0#78000-sha1:4568b9d484113d74dfb6f152fb925b5fa1be2ef7.