Skip to content
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

Log file updates #163

Closed
wants to merge 14 commits into from
Closed

Log file updates #163

wants to merge 14 commits into from

Conversation

wtgee
Copy link
Member

@wtgee wtgee commented Dec 2, 2017

Updates to log files.

Replaces #160

@wtgee wtgee requested a review from jamessynge December 2, 2017 21:11
@codecov
Copy link

codecov bot commented Dec 2, 2017

Codecov Report

Merging #163 into develop will increase coverage by 0.21%.
The diff coverage is 92.68%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #163      +/-   ##
===========================================
+ Coverage     80.6%   80.82%   +0.22%     
===========================================
  Files           36       36              
  Lines         2527     2556      +29     
  Branches       319      320       +1     
===========================================
+ Hits          2037     2066      +29     
- Misses         386      387       +1     
+ Partials       104      103       -1
Impacted Files Coverage Δ
pocs/mount/mount.py 57.84% <0%> (ø) ⬆️
pocs/core.py 79.82% <100%> (-0.09%) ⬇️
pocs/utils/logger.py 96.36% <97.29%> (+4.36%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a436f2a...f45b348. Read the comment docs.

- Use a tool such as [yapf](https://github.com/google/yapf) to format your
files; we'd rather spend time developing PANOPTES and not arguing about
style.
- Line length is set at 120 characters instead of 80
Copy link
Contributor

Choose a reason for hiding this comment

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

100, not 120, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Arg...this and the comment below are the same as what you saw happening with the serial testing PR where it is pulling in the old items.

example, `my_file.py` instead of `My File.py`
- Define any project specific terminology or abbreviations you use in the file you use them
- Variable/function/class and file names should be meaningful and descriptive.
- File names should be underscored, not contain spaces ex. my_file.py.
Copy link
Contributor

Choose a reason for hiding this comment

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

Please keep the old file names description (lower case, etc.).


# Configure the logger
logging.config.dictConfig(log_config)

# Get the logger and set as attribute to class
logger = logging.getLogger(profile)

# Don't want log messages from state machine library
Copy link
Contributor

Choose a reason for hiding this comment

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

I appreciate the comment as I had no idea what this was about. I wonder if this is the kind of thing that could be in conf_files/log.yaml. What do you think?

@wtgee wtgee mentioned this pull request Dec 3, 2017
@wtgee
Copy link
Member Author

wtgee commented Dec 3, 2017

Closing in favor of #165, which is the same thing (with corrections from above) but without the corrupted history.

@wtgee wtgee closed this Dec 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants