Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Conversation

@michaelloewenstein
Copy link
Contributor

No description provided.

@michaelloewenstein michaelloewenstein marked this pull request as draft December 1, 2020 17:06
@aviemzur aviemzur self-requested a review December 2, 2020 08:22
@michaelloewenstein michaelloewenstein changed the title LIMINAL-5 [LIMINAL-5] change prints to log Dec 2, 2020
@michaelloewenstein michaelloewenstein marked this pull request as ready for review December 2, 2020 17:54
# specific language governing permissions and limitations
# under the License.
import json
import os
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why were these changes made to hello_world.py?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commented lines seemed redundant since they are not in use. if they are needed - my bad.


import logging
from liminal.core import environment
LIMINAL = 'liminal'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sure file passes PEP8
If you use an IDE like PyCharm / IntelliJ it can help you format the file

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems OK on my end. Actually there are existing files that seem to need an adjustment.

Screen Shot 2020-12-28 at 23 33 42

LOGS_DIR = 'logs'

def logging_initialization():
# TBD - rotating file handler
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see these are still TBD
Currently I'm not seeing the log lines in sysout or in logs file
I think for now let's just focus on sysout and not log to file

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screen Shot 2020-12-28 at 23 16 03

I see the logs both in the file & sysout, can u pls specify ?

Copy link
Contributor Author

@michaelloewenstein michaelloewenstein Dec 28, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The TBDs are for future reference/work, I can remove them if you prefer.

@aviemzur
Copy link
Member

aviemzur commented Jan 6, 2021

Merged in #19

@aviemzur aviemzur closed this Jan 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants