Skip to main content

How to Read the ABM Service Server Logs

ABM Service Server keeps a log for each company, one file per day, plus a log for the server manager and one for the setup. The quickest way to a company's logs is Open logs under the company in ABM Service Server Manager, which shows them in a window of its own and can save a copy to send to the software supplier.

How do I open a company's logs in the server manager?​

Press Open logs under the company in ABM Service Server Manager. A window titled Logs - followed by the company's name opens over the manager, listing the company's log files on the left, newest day first, and showing the end of the chosen file on the right.

  1. Open ABM Service Server Manager.
  2. Press Open logs under the company. The button is there for every company, whatever its state.
  3. Choose a file in the list on the left. The first file of the newest day is chosen for you; within a day the child file is listed before the launcher file.
  4. Read the text on the right. It opens scrolled to the end, where the latest lines are.
  5. Press Refresh to read the files again while you watch the company start or update.
  6. Press Close when you are done.

The log window can stay open while you use the manager, and pressing Open logs again for the same company brings the same window forward rather than opening a second one.

The line beside the buttons says how much of the file you are seeing: the size and whole file, or, for a large file, the last 512 KB of its size with Save a copy for the whole file. A company that has never started has no files, and the window says There are no log files in its folder, A company that has never started writes none.

What are the launcher and child log files?​

Each company writes two files a day. The launcher file, named launcher- followed by the date, records what the company's Windows service did: starting and stopping the web server, health checks, update checks, downloads, updates and going back to an earlier version. The child file, named child- followed by the date, is the web server's own output, including its errors.

  • Start with the launcher file when a company will not start, keeps restarting or did not update: each line has the time, how serious it is, what part of the service it is about and what happened.
  • Look in the child file when the company is running but people see errors, or the launcher file says the web server stopped by itself. It also records each time somebody tried to open a linked attachment that the server could not open, with where the file is kept and the reason, such as AccessDenied when the server's account may not read its shared folder.
  • A day with a very large log is split into several files, numbered after the date.

The launcher file names only the SQL Server and the database a company connects to, never the login or the password. The child file never shows a password either, but it can contain a login name: the web server's errors are written to it word for word, and when SQL Server refuses a login, its message names the login it tried.

How do I send a company's log to the software supplier?​

Choose the file in the company's log window, press Save a copy..., and save it somewhere you can attach it to an email, such as the desktop. Save a copy... saves the whole file, not only the part on screen.

  1. Press Open logs under the company in ABM Service Server Manager.
  2. Choose the day's file in the list. Send the launcher file first, and the child file too if asked.
  3. Press Save a copy.... The save box starts on your desktop with the file's own name.
  4. Press Save. The window says Saved to and where.

Copy puts the text on screen on the clipboard instead, which is handy for pasting a few lines into an email. Files two or more days old are compressed, with a name ending in .gz; Save a copy... saves those compressed, and the software supplier can read them as they are.

Why can't I open the log folder in Windows Explorer?​

The folder can be read only by administrators and the system, and Windows Explorer runs without administrator rights even when you are an administrator, so it is refused. That protection is deliberate: the same folder holds each company's database connections. The log window reads the files for you instead.

Press Folder path in the company's log window to see where the files are. The message Where the logs are gives the folder, explains why Explorer cannot open it, and puts the path on the clipboard, ready to paste into an elevated command prompt or an email. A company's logs are in its own folder: C:\ProgramData\ABM Service\Server\service\ followed by the company's name and \logs.

How long does ABM Service Server keep its logs, and how much disk do they use?​

By default, each company on ABM Service Server deletes log files dated more than 30 days before today; files two or more days old are compressed, with a name ending in .gz, to save space. Housekeeping runs when the service starts and then hourly. Today's and yesterday's files are left uncompressed.

Each company writes a launcher stream and a child stream. The default retention can keep today's files and the preceding 30 dates, mostly compressed, until the next housekeeping pass. There is no overall size limit: one day's file is split into numbered parts once it passes 64 MB. Housekeeping leaves files alone unless their names match ABM Service's dated launcher or child log names, so keep your own notes under different names.

ABM Service Server Manager has no setting for how long logs are kept. To keep one company's logs longer than 30 days, change the number after RetentionDays, in the Logging part of that company's settings file, instance.json, in C:\ProgramData\ABM Service\Server\service\ followed by the company's name, with an editor started as administrator. Then restart the company's Windows service in the Services window straight away: the company reads the file only when its service starts, and pressing Apply at... before then writes the company's own copy of its settings back over your change. Keep a copy of the file first, because a file the company cannot read is ignored whole, and the company then starts with every setting at its default, its port included. Settings... and updates keep the change; removing the company deletes it.

When your software supplier asks for the whole log rather than what the log window shows, press Open logs under the company in ABM Service Server Manager, choose the day's file and press Save a copy.... It saves the whole file, even when the window shows only the last 512 KB of a large one, and the save box starts on your desktop, ready to attach to an email.

What is the support folder inside a company's logs folder?​

The support folder, C:\ProgramData\ABM Service\Server\service\ followed by the company's name and \logs\support, holds the screen recordings of office staff using that company in a web browser. Screen recording is on from installation, and only the company's system administrator switches it off, on Administration › DP Systems in ABM Service; Customer portal users are never recorded.

  • It cleans itself up. Recordings are kept for at most 14 days and 2 gigabytes per company, the oldest deleted first, separately from the 30 days of the launcher and child files.
  • It is not shown by Open logs, which lists only the launcher and child files. Like the rest of the folder, only administrators of the server can open it.
  • Nothing in it leaves the server by itself. When DP Systems' support asks for recordings, the system administrator sends them from Administration › DP Systems, locked on the server before they leave, so that only the people at DP Systems who may open them can.

How to Connect ABM Service Server to DP Systems says more about recording and the switch.

Where are the server manager's and the setup's own logs?​

Both are in C:\ProgramData\ABM Service\Server\logs. The server manager writes manager.log: everything its command-line commands print, including the setup's move of every company onto new service software, and every operation that failed in the ABM Service Server Manager window, with the reason. A company added or changed successfully is not written there, but every SQL login Add a company made, or copied as a script, is: its name, its SQL Server and its databases, never its password. The setup writes install.log, and its completion page shows the path as Installer log.

Read manager.log when an add or an update of the service software failed, and install.log when the setup failed. These two are not shown in the log window; open them from an elevated command prompt or ask the setup for Details. They are removed only when ABM Service Server is uninstalled.