Centralisation des journaux (pas encore Elastic) #40
1 changed files with 1 additions and 3 deletions
|
@ -43,9 +43,7 @@ def main():
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
logging.basicConfig(
|
logging.basicConfig(format="%(levelname)s %(message)s", level=logging.INFO)
|
||||||
format="[%(asctime)s] %(levelname)s %(message)s", level=logging.INFO
|
|
||||||
)
|
|
||||||
|
|
||||||
logging.info("Rotate script started")
|
logging.info("Rotate script started")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue