Skip to content

Fix #39 with new log files management - #41

Merged
uggla merged 3 commits into
develfrom
logfile
Apr 4, 2016
Merged

uggla merged 3 commits into
develfrom
logfile

Conversation

@bcornec

@bcornec bcornec commented Apr 2, 2016

Copy link
Copy Markdown
Owner
  • Default location for log files is now under the HOME directory of the
    user instead of /var/log
  • Create that default .redfish dir if not already existing
  • Adapt error messages

Comment thread redfish/config.py
HOME = os.getenv('HOME')
if HOME == '':
print("$HOME environment variable not set, please check your system")
sys.exit(1)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ok, so we should remove that check in the redfish-client to be DRY.

@uggla

uggla commented Apr 3, 2016

Copy link
Copy Markdown
Collaborator

I have tried to explain some concerns with this PR. However that's not so easy.
So if it is unclear maybe we'll be able to handle this tomorrow with our F2F meeting.

Anyway I feel having the log by default in the home dir is good !

bcornec added 3 commits April 4, 2016 20:40
- Default location for log files is now under the HOME directory of the
  user instead of /var/log
- Create that default .redfish dir if not already existing
- Adapt error messages
change references to .redfish.conf into .redfish.inventory
- manage variable expanion for logfiles
- improve inventory handling
- remove now useless checks for HOME
@uggla
uggla merged commit ce55371 into devel Apr 4, 2016
@bcornec
bcornec deleted the logfile branch April 4, 2016 19:32
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