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

[FEATURE REQUEST] Log only if action took place #179

Open
h-e-l-l-o-w-o-r-l-d opened this issue Apr 28, 2021 · 2 comments
Open

[FEATURE REQUEST] Log only if action took place #179

h-e-l-l-o-w-o-r-l-d opened this issue Apr 28, 2021 · 2 comments

Comments

@h-e-l-l-o-w-o-r-l-d
Copy link

Hi,

we run the scheduler every 5 minutes to check for new/updated records. This leads to a lot of logs where nothing happened. These logs are not interesting for us and in the log module it's a time-waster to spot logs where action took place.

Is it possible to only log if either insert, update, delete OR move is greater than 0?

@fsuter
Copy link
Contributor

fsuter commented Apr 28, 2021

I can see the problem. This is currently not possible. It would need a new option.

BTW note that the number of updates operations is also not always correct, because I'm counting the number of records that are prepared for update, but the DataHandler will not save records that are identical and provides no reporting about this. So the number of records that is announced for updating may not reflect reality. This is complicated, because it means External Import would have to read the existing data to assess effective changes.

@h-e-l-l-o-w-o-r-l-d h-e-l-l-o-w-o-r-l-d changed the title [QUESTION] Log only if action took place [FEATURE REQUEST] Log only if action took place Apr 28, 2021
@h-e-l-l-o-w-o-r-l-d
Copy link
Author

Yeah, I'm aware of that. Not a big problem though. Changed the issue-title from question to request. ;)

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