Am 20.11.2015 um 16:34 schrieb Lonnie Abelbeck <li...@lonnie.abelbeck.com>:
> On Nov 20, 2015, at 8:48 AM, Stefan Ulm <s....@divus.biz> wrote: > >> Hi all, >> >> I’m trying to set up an automatism to create call files automatically on >> startup and copy them from the dialplan in extension.conf to spool folder >> when required. >> For keeping track I’ld like to integrate a persistent log file in which I >> can log success or not or eventually errors. >> Can someone tell me where to store such a log file in the folder structure, >> where the log file will be persistent and not volatile (lost after reboot)? >> >> Best regards >> >> Stefan Ulm >> Technical Department | Research & Development >> stefan....@divus.eu > Hi Stefan, > > The "/mnt/kd/" path is persistent and where all your settings are saved to. > > For example "/mnt/kd/call-status.log" would be persistent. > > > Lonnie Hi Stefan, additionally there is a variable for your "user.conf" that makes all log files persistent: ### Persistent Logs ### If this variable is defined, logs are saved to the keydisk instead of RAM PERSISTLOG=yes Otherwise you can include your own stuff into custom startup-scripts at "/mnt/kd/rc.local" and "/mnt/kd/rc.local.stop" (they are not existing by default). Michael http://www.mksolutions.info ------------------------------------------------------------------------------ _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.