-
Notifications
You must be signed in to change notification settings - Fork 11
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
Planned auction for tender #4
Conversation
MESSEGE_ID відправляється і логується skipped XX full days, якщо такі існують. |
Добавив відправлення номеру потоку. Змінна stream, яка передає своє значення у атрибут функції, що відправляється у лог, завжди дорівнює 1 |
@@ -162,7 +167,10 @@ def check_tender(tender, db): | |||
except ResourceConflict: | |||
planned = False | |||
auctionPeriod = randomize(auctionPeriod).isoformat() | |||
LOG.info('Planned auction for tender {} to {}'.format(tender['id'], auctionPeriod)) | |||
skipped_days_str = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не бачу потреби в суфіксі _str
Вона має стати 2 після планування 10 аукціонів на один і той самий день On Wednesday, 30 September 2015, Andrew Leitsius notifications@github.com
.................................................................................................................................... |
@@ -0,0 +1,16 @@ | |||
[buildout] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Давай або тут в файлі, або в readme допишемо, для чого цей journal.cfg, і як будувати екземпляр для перевірки роботи журналювання
b698851
to
066d9a9
Compare
5725cec
to
c7485bc
Compare
Чи потребує новостворене логування 'Planned auction for lot {} of tender {} to {}' передачі в екстра таких же параметрів, як і попередні логування? ( 'PLANNED_DATE', 'PLANNED_STREAM', 'PLANNED_DAYS_SKIPPED') |
Так і ще додатково LOT_ID |
ee32879
to
7998460
Compare
@kroman0 усі останні зміни у комітax "Add logging_context" i "Remove JournalHandler" |
MESSAGE_ID |
No description provided.