Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon4.gif   auto pre-fill fields issue, posted by Gys Wuyts on Fri Apr 9 16:48:54 2021 
    icon2.gif   Re: auto pre-fill fields issue, posted by Stefan Ritt on Fri Apr 9 17:54:42 2021 
       icon2.gif   Re: auto pre-fill fields issue, posted by Gys Wuyts on Sat Apr 10 20:58:35 2021 
          icon2.gif   Re: auto pre-fill fields issue, posted by Andreas Luedeke on Sun Apr 11 18:16:02 2021 
             icon2.gif   Re: auto pre-fill fields issue, posted by Gys Wuyts on Mon Apr 12 13:32:53 2021 
                icon2.gif   Re: auto pre-fill fields issue, posted by Stefan Ritt on Mon Apr 12 13:57:18 2021 
                   icon2.gif   Re: auto pre-fill fields issue, posted by Gys Wuyts on Mon Apr 12 14:17:52 2021 
Message ID: 69346     Entry time: Mon Apr 12 13:57:18 2021     In reply to: 69345     Reply to this: 69347
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Windows  ELOG Version: 3.1.4 (latest) 
Subject: Re: auto pre-fill fields issue 

"Subst xxx" replaces after you submit an entry, while "Preset xxx" replaces before you create an entry. I believe you want the second one.

Stefan

Gys Wuyts wrote:

[global]

port = 8080

ssl = 0

Password file = passwords.txt

Admin user = user1

SMTP host = smtp. mail.com

SMTP port = 25

SMTP username = user1@mail.com

SMTP Password = GIwbx7UbmkWs5J0P8lVztX7Anje0/21BU/Tmk0aPm.

Logfile = ELog_log.txt

Logging level = 3

 

 

[Server]

Logbook dir = Server

Theme = default

Comment = Server Change Log

Attributes = Author, Email, Type, Category, Subject

Subst Author = $long_name from $remote_host

Subst Email = $user_email

Options Type = SRV 1, SRV 2, SRV Sup, BMS content, BMS setpoints, BMS new

Options Category = Config, User, Access, Connection, Change, New, Delete

Extendable Options =

Required Attributes = Author, Type

Page Title = ELOG - $subject

Reverse sort = 1

Quick filter = Date, Type

Andreas Luedeke wrote:

If you would post a minimal config file where the problem occurs, then we could look what the problem is.

Gys Wuyts wrote:

Thank you but that is already  in place. I have the same issue on both Windows 10 and Windows Server 2016 and 2019.

tnks

g

Stefan Ritt wrote:

You need user-level access control, using 

Password file = ...

Stefan

Gys Wuyts wrote:

Hello,

what are the pre-requisites to automatically fill the Author and Author Email fields. The documented method:

Subst Author = $long_name from $remote_host

Subst Email = $user_email

in the elogd.cfg file does not seem to work.

(I see it works here on this platform)

Tnks

 

G

 

 

 

 

 

ELOG V3.1.5-3fb85fa6