LegacyHostService.EXE
The LegacyHostService.exe provides the ability to assemble HotDocs 11 templates. This service installs at the following location relative to the HotDocs Core assembly service:
HotDocsCoreAssemblyService > bin > LegacyHost.
Logging
Just like the HotDocs Core Assembly Service, the LegacyHostService uses Serilog for logging, and stores the logs in a folder named Logs (located at the install location):
HotDocsCoreAssemblyService > bin > LegacyHost > Logs.
If you want to change the log settings, you need to update the LegacyHostService.exe.config file.
PDF Assembly Settings
The LegacyHostService also provides the ability to assemble PDF documents. The LegacyHostService.exe.config file enables you to set the min and max settings for the number of threads the service can spawn at a time. Each thread controls a single assembly process.
PDF setting | Default Value |
PDFAsmThreadsMin | 0 – enables you to set. a value for the minimum number of threads to spawn for assembling PDF documents. Must be less than or equal to the value of PDFAsmThreadsMax, with an upper limit of 20 threads. |
PDFAsmThreadsMax | 8 – enables you to set a value for the maximum number of threads to spawn for assembling PDF documents. Must be greater than or equal to the value of PDFAsmThreadsMin, with an upper limit of 20 threads. |
PDFAsmThreadTimeout | 5 – enables you to set the time out value (in minutes) for a PDF assembly process thread. The minimum value you can set is 1 minute. There is no upper limit to the value you can set for how long the thread waits for work to do before terminating itself. |