rcbops-qe / monster

Deployment/Orchestration Engine
Apache License 2.0
4 stars 8 forks source link

When a log file is deleted, things go bad #174

Open jacobwagner opened 10 years ago

jacobwagner commented 10 years ago
(.venv)solo4572@solo4572 monster @ master $ ./compute.py tmux -n sat6-ubuntu-ha-neutron -c configs/sat6-neutron.yaml 
Traceback (most recent call last):
  File "./compute.py", line 11, in <module>
    from monster import util
  File "/home/solo4572/workspace/jacobwagner/monster/monster/util.py", line 25, in <module>
    file_handler = logging.FileHandler("logs/{0}-{1}.log".format(name, time))
  File "/usr/lib64/python2.7/logging/__init__.py", line 902, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib64/python2.7/logging/__init__.py", line 925, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 2] No such file or directory: '/home/solo4572/workspace/jacobwagner/monster/logs/Monster-2014-04-09_15:07:39.log'
jpmontez commented 10 years ago

Close, por favor.