We have confusing situation for an ages here. We were writing a lot of log files: > /var/log/deployment-installer-debug.log > /var/log/ngcp-installer.log > /var/log/ngcp-installer-debug.log The first one contains all the GRML boot, Debian debootstrap and ngcp-installer-debug.log already. Also having both ngcp-installer.log and ngcp-installer-debug.log confuses new users as they do not know which logs they need to check first to see ngcp-installer logs. There is no need to keep both files anymore. Nowadays we have a nice way to distinguish logs between components, so /var/log/deployment-installer-debug.log is enough here: > +15:07:48 (netscript.grml:1403): main(): echo 'Generating ngcp-installer run script ...' > +15:07:48 (netscript.grml:1404): main(): cat > +15:07:48 (netscript.grml:1417): main(): echo 'Execute ngcp-installer inside deployment chroot environment ...' > ... > Running ngcp-installer via grml-chroot. > ... > +17:07:48 (ngcp-installer:27): main(): . /usr/share/ngcp-installer//system_pro.inc > +17:07:48 (ngcp-installer:28): main(): . /usr/share/ngcp-installer//packages.inc > +17:07:48 (ngcp-installer:31): main(): . /usr/share/ngcp-installer//cfg.inc > ... > +17:07:57 (packages.inc:58): packages_ppa_sourceslist(): echo '(system installed using NGCP PPA: gerrit_gtid_imp)' > +17:07:57 (ngcp-installer:54): main(): packages_aptconfig > +17:07:57 (packages.inc:90): packages_aptconfig(): mkdir -p /etc/apt/preferences.d > +17:07:57 (packages.inc:92): packages_aptconfig(): cat The commit here should minimize amount of log files we produce and should simplify the debug process. Change-Id: I26a2ca8e21a3385f7d57d830feb207bbb1039b39changes/71/23571/1
parent
d759835966
commit
8d86272571
Loading…
Reference in new issue