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] Logs says error, but there are no errors #93

Closed
gabrik opened this issue Jun 6, 2019 · 1 comment
Closed

[BUG] Logs says error, but there are no errors #93

gabrik opened this issue Jun 6, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@gabrik
Copy link
Contributor

gabrik commented Jun 6, 2019

Some logs reports errors even if they are just debug information.

Example:

[2019-06-06 14:57:31,971] - [ERROR] > < store_file() > Called for: /var/fos/linuxbridge/start_6cc2aa30.sh
[2019-06-06 14:57:31,972] - [ERROR] > < store_file() > Stored: 948 bytes


[2019-06-06 14:59:13,034] - [ERROR] > < file_exists() > Called for: /var/fos/lxd/images/test.tar.gz
[2019-06-06 14:59:13,034] - [ERROR] > < file_exists() > Result True
[2019-06-06 14:59:13,036] - [ERROR] > < checksum() > Calculating SHA256 of /var/fos/lxd/images/test.tar.gz

Change the log to use logger.debug

@gabrik gabrik added the bug Something isn't working label Jun 6, 2019
@gabrik gabrik changed the title [BUG] Logs says error, but there are not errors [BUG] Logs says error, but there are no errors Jun 6, 2019
gabrik added a commit to atolab/fog05 that referenced this issue Jun 12, 2019
Signed-off-by: gabrik <gabriele.baldoni@gmail.com>
gabrik added a commit that referenced this issue Jun 12, 2019
Replacing some `logger.error` with `logger.info`, this was a mistake, they were supposed to be info from the beginning
@gabrik
Copy link
Contributor Author

gabrik commented Jun 12, 2019

Solved by #99

@gabrik gabrik closed this as completed Jun 12, 2019
gabrik added a commit that referenced this issue Nov 26, 2020
Replacing some `logger.error` with `logger.info`, this was a mistake, they were supposed to be info from the beginning
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

1 participant