-
-
Notifications
You must be signed in to change notification settings - Fork 68
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 file doesn't contain backend/location details #28
Comments
Currently not but thats a good idea to have a flag. Will look into it the next days :) |
Moreover, I can't detect failed tasks with Ansible. Ansible stdout:
While real output contains errors:
|
Would it be worth using a proper logging framework? Something like tslog perhaps? I have zero experience with TS so there may well be better options. |
Hey, sry I forgot that was an issue. Probably I could rewrite the whole logging thing. It's quite ugly anyways. |
So. I've added a @stosem you are right should not return 1 on failed. I will do that next. |
@stosem now returns with exit code 1 if a backup fails (v0.24) |
Thanks for this @cupcakearmy and please don't apologise for implementing a feature for free on an OSS project!! It is much appreciated. Unfortunately it doesn't seem to work as expected, see below for how my log now looks;
So it is now printing the output to the log file (before it wasn't showing anything), but there seems to be some sort of encoding issue? Any ideas? |
Yes. But un maintained projects always make me angry 😅 |
Should be fixed in |
Ok - the output is cleaned up but there is no mention of which backend/location is being processed. It just looks like the raw
|
I just checked. So this happens only with the |
I just tested without
And then exactly the same command, but piping to a log file results in;
|
@cupcakearmy sorry to keep bugging you but is this still on your radar? it is not a major by any stretch but it would be great to have more useful logging for reconciliation and validation. no problem if you have higher priority issues to attend to of course! |
It's on the list 🙂 I'm just burried in academic stuff right now unfortunately 😒 End of March there could be light xD |
No problems! Sorry to be pushy! Best of luck with your studies.
…On Wed, 10 Feb 2021, 04:21 Nicco, ***@***.***> wrote:
It's on the list 🙂 I'm just burried in academic stuff right now
unfortunately 😒 End of March there could be light xD
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGTR2ROYQVKNYV35GEB54LS6FHHBANCNFSM4PGHMYWQ>
.
|
So.. it's been a long time. I've rewritten the whole thing in Go the past week and it's way more stable (and smaller). |
Example below. All the dynamic text which is displayed in the console is not visible so you don't know what backend and backup location were processed.
Is it possible to generate more flat-file-log-friendly output via a switch/flag?
The text was updated successfully, but these errors were encountered: