Upgrading
Upgrading from panalog-0.4 to atslog-2.1.1 and to any other version of ATSlog.
- Stopping the log fetching daemon:
For panalog:
# /usr/local/etc/rc.d/panaloginit.sh stop
For all versions of ATSlog:
# atslogmaster stop
- Download and unpack atslog-2.1.1.tar.gz:
$ fetch http://www.atslog.com/download/atslog-2.1.1.tar.gz $ tar vzxfmp atslog-2.1.1.tar.gz
- Configure new version of ATSLog
$ cd atslog-2.1.1 # configure
Delete old version
For PanaLog:
# /usr/local/share/panalog/install.sh deinstall
Upon deinstalling the text logs (from /var/log/panalog) are kept!For ATSlog:
# cd /usr/local/share/atslog # make deinstall
Upon deinstalling the text logs (from /var/log/atslog) and config files are kept!
- Change to the directory with setup files and install a new version using previous settings:
# make install
- When upgrading from PanaLog to ATSlog move the present day data from the file calls.log (not yet parsed
to the SQL database) into the file
currentcalls.log (NOT COPY, but MOVE!). This file is located in the directory together with other text logs and stores current calls.
- You must parse the data from text logs into SQL database again (since the SQL datatables structure has changed). To do this, issue:
# atslogmaster cleardb # Clear the tables from old information # atslogmaster alltodb # Write call information from text logs.
- Launch the log fetching daemon
# atslogmaster start
Previous Sections Next Program setup Using ATSlog - You must parse the data from text logs into SQL database again (since the SQL datatables structure has changed). To do this, issue:
