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

Log messages are being duplicated #50

Open
tsalo opened this issue Aug 28, 2024 · 4 comments
Open

Log messages are being duplicated #50

tsalo opened this issue Aug 28, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@tsalo
Copy link
Collaborator

tsalo commented Aug 28, 2024

All of the logger messages seem to be shown twice in my terminal, with slightly different formatting.

240828-20:37:30,401 nipype.workflow INFO:
	 fMRIPost-AROMA workflow graph with 55 nodes built successfully.
2024-08-28 20:37:30,401 [    INFO] fMRIPost-AROMA workflow graph with 55 nodes built successfully.
@tsalo tsalo added the bug Something isn't working label Aug 28, 2024
@effigies
Copy link
Member

Must be two handlers being registered.

@tsalo
Copy link
Collaborator Author

tsalo commented Aug 29, 2024

I looked through the code and didn't see where that was happening, but I'll do a deeper dive in the next couple of days.

@effigies
Copy link
Member

If you're importing Fmriprep, it could be done at import time. We haven't made much effort for it to be usable as a library.

@tsalo
Copy link
Collaborator Author

tsalo commented Sep 20, 2024

I'm currently testing fMRIPost-AROMA out on ds001419 and it looks like one is going to stdout (expected) and the other is going to stderr (unexpected).

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

2 participants