Lines 5691-5699
Link Here
|
5691 |
del f |
5691 |
del f |
5692 |
logid_time = time.strftime("%Y%m%d-%H%M%S", |
5692 |
logid_time = time.strftime("%Y%m%d-%H%M%S", |
5693 |
time.gmtime(os.stat(logid_path).st_mtime)) |
5693 |
time.gmtime(os.stat(logid_path).st_mtime)) |
5694 |
mysettings["PORTAGE_LOG_FILE"] = os.path.join( |
5694 |
|
5695 |
mysettings["PORT_LOGDIR"], "%s:%s:%s.log" % \ |
5695 |
if "split-log" in mysettings.features: |
5696 |
(mysettings["CATEGORY"], mysettings["PF"], logid_time)) |
5696 |
mysettings["PORTAGE_LOG_FILE"] = os.path.join( |
|
|
5697 |
mysettings["PORT_LOGDIR"], "build", "%s/%s:%s.log" % \ |
5698 |
(mysettings["CATEGORY"], mysettings["PF"], logid_time)) |
5699 |
else: |
5700 |
mysettings["PORTAGE_LOG_FILE"] = os.path.join( |
5701 |
mysettings["PORT_LOGDIR"], "%s:%s:%s.log" % \ |
5702 |
(mysettings["CATEGORY"], mysettings["PF"], logid_time)) |
5703 |
|
5704 |
portage.util.ensure_dirs(os.path.dirname(mysettings["PORTAGE_LOG_FILE"])) |
5705 |
|
5697 |
del logid_path, logid_time |
5706 |
del logid_path, logid_time |
5698 |
else: |
5707 |
else: |
5699 |
# When sesandbox is enabled, only log if PORT_LOGDIR is explicitly |
5708 |
# When sesandbox is enabled, only log if PORT_LOGDIR is explicitly |