ShahriyarR / MySQL-AutoXtraBackup

MySQL-AutoXtraBackup commandline tool written in Python 3 based on Percona XtraBackup
https://autoxtrabackup.azepug.az/
MIT License
140 stars 79 forks source link

--verbose doesn't show anything #326

Closed BarbzYHOOL closed 3 years ago

BarbzYHOOL commented 5 years ago

I'm on 1.5.2

If I use autoxtrabackup -v -l DEBUG --backup it fills the console with information

But if I remove the -l DEBUG part there is nothing

If I change DEBUG to CRITIAL/INFO etc, there is nothing either !!!

ShahriyarR commented 5 years ago

Because I have implemented only DEBUG messages :))))

BarbzYHOOL commented 5 years ago

ok but it's confusing :D maybe make it simpler until future implementation :P

ShahriyarR commented 5 years ago

:)) haha) just skip it. use -l DEBUG and that's it)

BarbzYHOOL commented 5 years ago

??? no -l DEBUG prints nothing to the console

Imo, there is a need to unify command names etc

ShahriyarR commented 5 years ago

Okay sorry, -v -l DEBUG )

ShahriyarR commented 5 years ago

I have changed the default log to DEBUG to make it clear that it will show necessary messages.

BarbzYHOOL commented 5 years ago

@ShahriyarR Is there a way to NOT display the debug output in the console BUT to still log it to the logs?

BarbzYHOOL commented 5 years ago

Ah yes, by removing -v

gitmstoute commented 5 years ago

It would be good to resolve this; with additional logging from #307, and only a single log-level, my autoxtrabackup logs are becoming relatively large (full backup is 15+mb log). I will try to work on it soon.

ShahriyarR commented 5 years ago

@gitmstoute Thanks.