Skip to content

Commit

Permalink
Test Merge
Browse files Browse the repository at this point in the history
Test Merge
  • Loading branch information
bjk7119 authored Jul 22, 2021
2 parents aee023f + ec97e94 commit 623acee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ progress
PyYAML
lastversion
coloredlogs
bumpversion
2 changes: 2 additions & 0 deletions src/fosslight_util/set_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ def init_log(log_file, create_file=True, stream_log_level=logging.INFO, file_log
coloredlogs.DEFAULT_LOG_LEVEL = stream_log_level
coloredlogs.install(logger=logger)

logger.warning('Test Logging')

if create_file:
file_handlder = logging.FileHandler(log_file)
file_handlder.setLevel(file_log_level)
Expand Down

0 comments on commit 623acee

Please sign in to comment.