Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MetaAppender logger #5753

Closed
steveFuturePerfect opened this issue Apr 17, 2023 · 4 comments
Closed

MetaAppender logger #5753

steveFuturePerfect opened this issue Apr 17, 2023 · 4 comments

Comments

@steveFuturePerfect
Copy link

Hi,

Recently I picked up on the Mirth logging enhancement tool at https://github.com/odoodo/Mirth-MetaAppender

Followed instructions, I've installed the jar etc and its been working well.

But the server log is showing some messages I'm not too sure about, some not related to any channel. They're not causing an issue, as far as I can see, but is there any way to stop these messages being logged?

For example:

  • [2023-04-17 01:08:19,510] WARN (com.zaxxer.hikari.pool.HikariPool:616): HikariPool-2 - Thread starvation or clock leap detected (housekeeper delta=27m15s595ms964µs600ns).

  • [2_023-04-12 04:06:15,166] INFO (test_channel-org.quartz.core.QuartzScheduler:534): Scheduler 6d037869-e8ac-45fc-8425-87050f95f834_$NON_CLUSTERED started.
    I think this is related to the use of the javascript reader connector and polling.

I wasn't seeing messages such as these before I installed the metaappender.

Thanks

@jonbartels
Copy link
Contributor

Cross linking to question in odoodo/Mirth-MetaAppender#4

How are you running Mirth? Locally? Container? VM?

Both errors relate to clock drift. Both the pooler and the scheduler would be sensitive to thinks like the computer sleeping.

@steveFuturePerfect
Copy link
Author

My Mirth Connect instances are run locally and on remote servers, both displaying the mentioned logged messages.

As its only a warning, nothing too much too worry about?

@jonbartels
Copy link
Contributor

Clock drift usually only happens when a physical computer is put to sleep or if a container/VM is paused. If there are not sleeps, pauses, etc. then I would not ignore these warnings. The warnings are telling you a time-sensitive operation failed or was reset after clock drift was detected.

Possible causes of clock drift WITHOUT a sleep or pause could be:

  • poor time sync (are you running NTP to maintain system time?)
  • extremely high CPU load

I suspect that you've had the warnings happening for a long time but the MetaAppender made it easier to see the errors. That is a good thing. That is what the Meta Appender does for its users!

@steveFuturePerfect
Copy link
Author

Thanks Jon,

That may very well be the case. I'm going to have to accept the intrusion of these messages in the logs

Thanks for your help anyway

Steve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants