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

[BUG] Mirth 4.0,1 VDI unexpectedly stops writing to mirth.log #6042

Closed
phommata opened this issue Dec 21, 2023 · 6 comments
Closed

[BUG] Mirth 4.0,1 VDI unexpectedly stops writing to mirth.log #6042

phommata opened this issue Dec 21, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@phommata
Copy link

Describe the bug
A clear and concise description of what the bug is. Is this consistently reproducible?
When I launch and use Mirth 4.0,1 VDI, I am not seeing any logs being written out to logs/mirth.log. When I run Mirth locally I can see the logs being written out. The server logs show up on the dashboard. Although, the mirth.log are more helpful and easier to use. Logs stopped writing 13 days ago. Relaunching Mirth does not remedy the issue.

To Reproduce
Steps to reproduce the behavior:

  1. Launch Mirth 4.0.1 VDI
  2. Check mirth.log
  3. See no new logs written or update timestamp on log file

Expected behavior
I expected mirth.log file to be written to and updated when I use Mirth.

Actual behavior
No logging to mirth.log.

Screenshots
image

Environment (please complete the following information):

  • OS: Windows 10 Enterprise Version 21H2
  • Java Distribution/Version [OpenJDK 17.0.2]
  • Connect Version [4.0.1]

Workaround(s)
Use Dashboard's Server logs.

Additional context
None.

@phommata phommata added the bug Something isn't working label Dec 21, 2023
@jonbartels
Copy link
Contributor

What user is Mirth running as?

What user has write permissions to the logs directory?

@phommata
Copy link
Author

My VDI instance and Mirth are running as a Power User with elevated permissions than a regular user. My Windows group that I belong to has all permissions enabled.

@pacmano1
Copy link
Collaborator

This typically happens when the Mirth Connect directory is not writable by the current service "run as" user. So, if you login as that service user and attempt to create a file in the logs directory, can you?

@pacmano1
Copy link
Collaborator

pacmano1 commented Dec 21, 2023

Delete that mirth.log file (the empty one), and stop mirth and restart it. Check task manager to make sure the service actually stopped before restarting.

(and a reminder to make sure you added the required java9+ parameters to the end of mcserver.vmotions and mcserver.vmptions the installer does not do that.)

@phommata
Copy link
Author

I did not change anything and noticed mirth.log writing again. Not sure why.

@pacmano1
Copy link
Collaborator

@jonbartels fault.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants