mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +02:00
[core] setup low-level logging
This commit is contained in:
parent
58bd363368
commit
7da3f36442
1 changed files with 3 additions and 0 deletions
|
@ -7,10 +7,13 @@ import os
|
||||||
import re
|
import re
|
||||||
import tempfile
|
import tempfile
|
||||||
import uuid
|
import uuid
|
||||||
|
import logging
|
||||||
|
|
||||||
from meshroom.core.submitter import BaseSubmitter
|
from meshroom.core.submitter import BaseSubmitter
|
||||||
from . import desc
|
from . import desc
|
||||||
|
|
||||||
|
# Setup logging
|
||||||
|
logging.basicConfig(format='[%(asctime)s][%(levelname)s] %(message)s', level=logging.INFO)
|
||||||
|
|
||||||
# make a UUID based on the host ID and current time
|
# make a UUID based on the host ID and current time
|
||||||
sessionUid = str(uuid.uuid1())
|
sessionUid = str(uuid.uuid1())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue