Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 100 of 806  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subject
  69052   Mon Oct 21 19:31:17 2019 Reply Johnsecondcomingtechnologies@fastmail.comQuestionLinuxV3.1.2-bd75964Re: How to get Elog server to produce web server log files in Linux.

Thank you soo much Sebastian once again for helping me!! This is something that will help me very much in the future with other situations similiar!

John :)

Sebastian Schenk wrote:

Hi,
that Sebastian would be me. I replied to the first entry, as it was a draft (site reloaded incorretly...) and now I can't see the post anywhere. But this is off topic.

We have elog running on port 8000 and forward the traffic via Apache to it. Apache handles the SSL and other sites on the server.
All you need is a apache site configuration like the following. The parameter you want is CustomLog. (Have a look in the internet for options.)
I have also used nginx as webserver and know it can also handle this proxy setup.
If you use the following config, the elog config needs the URL attribute in the (global) config.

Best wishes,
Sebastian

<VirtualHost *:443> # change 443 to  80, if you don't use SSL
        ServerName your.server.name

        # delete the next 3 lines, if you don't use SSL
        SSLEngine on
        SSLCertificateFile /path/to/your/ssl.crt
        SSLCertificateKeyFile /path/to/your/ssl.key

        ProxyPreserveHost On
        ProxyPass / http://127.0.0.1:8000/
        ProxyPassReverse / http://127.0.0.1:8000/

        # Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
        LogLevel warn
        CustomLog ${APACHE_LOG_DIR}/access.log combined
        ErrorLog ${APACHE_LOG_DIR}/error.log

</VirtualHost>

John wrote:

Hi again everyone; a Sebastian suggested I use a reverse proxy to complete my need to have logs show up when someone 'lands' on my first entry page. I see that Elog will only start recording logs when someone has actually started to do some work.. like login, read a post, etc... but NOT when they first enter the login page or 'listings' pages. I have tried fowarding from my router (both lighty and Apache) but so for no good. I will also look into  a vhost option and shareing the same port (very difficult- if even possible)  to  solve my dilema.

John :)

Stefan Ritt wrote:

Have you tried

Logfile = ...
Logging level = 3

John wrote:

Hi, I have been trying for a long time to get my web server logs to record when someone accesses my Elog server. I've tried Apache2, Lighttpd, and others, all with no luck. Either the web servers complain that the port I have Elog on is in use, or I just don't get any readings. I need to see who is accessing my  Elog from the web, and I hope there is a way.

Thanks again for such a wonderful program,

John

 

 

 

 

  69051   Mon Oct 21 13:41:08 2019 Reply Sebastian Schenksebastian.schenk@physik.uni-halle.deQuestionLinuxV3.1.2-bd75964Re: How to get Elog server to produce web server log files in Linux.

Hi,
that Sebastian would be me. I replied to the first entry, as it was a draft (site reloaded incorretly...) and now I can't see the post anywhere. But this is off topic.

We have elog running on port 8000 and forward the traffic via Apache to it. Apache handles the SSL and other sites on the server.
All you need is a apache site configuration like the following. The parameter you want is CustomLog. (Have a look in the internet for options.)
I have also used nginx as webserver and know it can also handle this proxy setup.
If you use the following config, the elog config needs the URL attribute in the (global) config.

Best wishes,
Sebastian

<VirtualHost *:443> # change 443 to  80, if you don't use SSL
        ServerName your.server.name

        # delete the next 3 lines, if you don't use SSL
        SSLEngine on
        SSLCertificateFile /path/to/your/ssl.crt
        SSLCertificateKeyFile /path/to/your/ssl.key

        ProxyPreserveHost On
        ProxyPass / http://127.0.0.1:8000/
        ProxyPassReverse / http://127.0.0.1:8000/

        # Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
        LogLevel warn
        CustomLog ${APACHE_LOG_DIR}/access.log combined
        ErrorLog ${APACHE_LOG_DIR}/error.log

</VirtualHost>

John wrote:

Hi again everyone; a Sebastian suggested I use a reverse proxy to complete my need to have logs show up when someone 'lands' on my first entry page. I see that Elog will only start recording logs when someone has actually started to do some work.. like login, read a post, etc... but NOT when they first enter the login page or 'listings' pages. I have tried fowarding from my router (both lighty and Apache) but so for no good. I will also look into  a vhost option and shareing the same port (very difficult- if even possible)  to  solve my dilema.

John :)

Stefan Ritt wrote:

Have you tried

Logfile = ...
Logging level = 3

John wrote:

Hi, I have been trying for a long time to get my web server logs to record when someone accesses my Elog server. I've tried Apache2, Lighttpd, and others, all with no luck. Either the web servers complain that the port I have Elog on is in use, or I just don't get any readings. I need to see who is accessing my  Elog from the web, and I hope there is a way.

Thanks again for such a wonderful program,

John

 

 

 

  69050   Mon Oct 21 10:46:43 2019 Reply Finn Junkerfj@tvis.netQuestionWindows3.1.4Re: Edit of multiple posts

Hello Andres

Or maybe my reply was unclear :-), but i did use the "Show Attributes Edit" the way you meant to not show attribute BRUGER and when i do that i get:

Error: Attribute Bruger not supplied.

Please go back and enter the Bruger field

Kind Regards Finn

Andreas Luedeke wrote:
I'm sorry, apparently my tip was not clear: you should use "Show Attributes Edit = " to NOT SHOW any of your locked attributes.
It is just a guess: if the attribute is not shown in your edit form, it will not complain about it when you submit the form.
Did you try that?
Cheers, Andreas
 
Finn Junker wrote:

Hello Andreas

Show Attributes Edit = xxx, limits the attributes shown when editing but when you submit you get the error

Error: Attribute Bruger not supplied.

Please go back and enter the Bruger field.

If I save instead of submitting it looks like it does change the attribute as intented in my test Elog system. Unfortunately i've disabled save with "Save drafts = 0" in my live system - to only use submit, and enabling drafts only causes other issues. My configuration is attached

Kind Regards Finn 

Andreas Luedeke wrote:

Hi Finn,

I don't know if this was intended, but at least I know a possible solution: with the command
"Show Attributes Edit = "
you can limit the attribute list shown in the edit form to those that are not Locked.
 
I haven't tried, but I guess that should work.
Cheers
Andreas
Finn Junker wrote:

Hello Andreas

OK, I did install a version of ELOG with a minimum of settings and the edit of multiple settings works fine. I've tracked the issue to "Locked Attributes = Bruger".

If one or more of the attributes are locked i get the error "Error: Attribute option - keep original values - not existing". I'm not trying to change the locked attribute, but it seems when one is locked multiple editing is not possible.

Is that intended to work this way?

Kind Regards Finn

Andreas Luedeke wrote:

I use editing of multiple entries frequently and it works fine for me.

To understand your problem I would suggest that you try a minimal configuration. If you have a test logbook with just one or two fields and it still does not work, then post the config here that people can reproduce your problem - and hopefully find a fix.

Cheers, Andreas

Finn Junker wrote:

Hello Elog Forum

There is i ELOG the function to edit multiple posts eg. to change the staus from "ongoing" to "finished" -> in danish translation "igangværende" and "afsluttet", see the attached pictures.

When I select multiple post and want to edit them to status "afsluttet" i get the "udklip_2.jpg" entry form and change only the status to "afsluttet" (Finished)

The result is a error informing that the attribut "gem oprindelige værdier" does not exist. As a test i changed the text in the translation file from "Keep origianl values = gem oprindelige værdier" to "Keep origianl values = Keep origianl values" but the result is the same error: Attribut Keep original values does not exist.

Is there a solution to this or is or is mutiple editing of post not allowed?

Kind Regards Finn

 

 

 

 

 

 

  69049   Fri Oct 18 23:22:50 2019 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionWindows3.1.4Re: Edit of multiple posts
I'm sorry, apparently my tip was not clear: you should use "Show Attributes Edit = " to NOT SHOW any of your locked attributes.
It is just a guess: if the attribute is not shown in your edit form, it will not complain about it when you submit the form.
Did you try that?
Cheers, Andreas
 
Finn Junker wrote:

Hello Andreas

Show Attributes Edit = xxx, limits the attributes shown when editing but when you submit you get the error

Error: Attribute Bruger not supplied.

Please go back and enter the Bruger field.

If I save instead of submitting it looks like it does change the attribute as intented in my test Elog system. Unfortunately i've disabled save with "Save drafts = 0" in my live system - to only use submit, and enabling drafts only causes other issues. My configuration is attached

Kind Regards Finn 

Andreas Luedeke wrote:

Hi Finn,

I don't know if this was intended, but at least I know a possible solution: with the command
"Show Attributes Edit = "
you can limit the attribute list shown in the edit form to those that are not Locked.
 
I haven't tried, but I guess that should work.
Cheers
Andreas
Finn Junker wrote:

Hello Andreas

OK, I did install a version of ELOG with a minimum of settings and the edit of multiple settings works fine. I've tracked the issue to "Locked Attributes = Bruger".

If one or more of the attributes are locked i get the error "Error: Attribute option - keep original values - not existing". I'm not trying to change the locked attribute, but it seems when one is locked multiple editing is not possible.

Is that intended to work this way?

Kind Regards Finn

Andreas Luedeke wrote:

I use editing of multiple entries frequently and it works fine for me.

To understand your problem I would suggest that you try a minimal configuration. If you have a test logbook with just one or two fields and it still does not work, then post the config here that people can reproduce your problem - and hopefully find a fix.

Cheers, Andreas

Finn Junker wrote:

Hello Elog Forum

There is i ELOG the function to edit multiple posts eg. to change the staus from "ongoing" to "finished" -> in danish translation "igangværende" and "afsluttet", see the attached pictures.

When I select multiple post and want to edit them to status "afsluttet" i get the "udklip_2.jpg" entry form and change only the status to "afsluttet" (Finished)

The result is a error informing that the attribut "gem oprindelige værdier" does not exist. As a test i changed the text in the translation file from "Keep origianl values = gem oprindelige værdier" to "Keep origianl values = Keep origianl values" but the result is the same error: Attribut Keep original values does not exist.

Is there a solution to this or is or is mutiple editing of post not allowed?

Kind Regards Finn

 

 

 

 

 

  69048   Fri Oct 18 09:40:54 2019 Reply Finn Junkerfj@tvis.netQuestionWindows3.1.4Re: Edit of multiple posts

Hello Andreas

Show Attributes Edit = xxx, limits the attributes shown when editing but when you submit you get the error

Error: Attribute Bruger not supplied.

Please go back and enter the Bruger field.

If I save instead of submitting it looks like it does change the attribute as intented in my test Elog system. Unfortunately i've disabled save with "Save drafts = 0" in my live system - to only use submit, and enabling drafts only causes other issues. My configuration is attached

Kind Regards Finn 

Andreas Luedeke wrote:

Hi Finn,

I don't know if this was intended, but at least I know a possible solution: with the command
"Show Attributes Edit = "
you can limit the attribute list shown in the edit form to those that are not Locked.
 
I haven't tried, but I guess that should work.
Cheers
Andreas
Finn Junker wrote:

Hello Andreas

OK, I did install a version of ELOG with a minimum of settings and the edit of multiple settings works fine. I've tracked the issue to "Locked Attributes = Bruger".

If one or more of the attributes are locked i get the error "Error: Attribute option - keep original values - not existing". I'm not trying to change the locked attribute, but it seems when one is locked multiple editing is not possible.

Is that intended to work this way?

Kind Regards Finn

Andreas Luedeke wrote:

I use editing of multiple entries frequently and it works fine for me.

To understand your problem I would suggest that you try a minimal configuration. If you have a test logbook with just one or two fields and it still does not work, then post the config here that people can reproduce your problem - and hopefully find a fix.

Cheers, Andreas

Finn Junker wrote:

Hello Elog Forum

There is i ELOG the function to edit multiple posts eg. to change the staus from "ongoing" to "finished" -> in danish translation "igangværende" and "afsluttet", see the attached pictures.

When I select multiple post and want to edit them to status "afsluttet" i get the "udklip_2.jpg" entry form and change only the status to "afsluttet" (Finished)

The result is a error informing that the attribut "gem oprindelige værdier" does not exist. As a test i changed the text in the translation file from "Keep origianl values = gem oprindelige værdier" to "Keep origianl values = Keep origianl values" but the result is the same error: Attribut Keep original values does not exist.

Is there a solution to this or is or is mutiple editing of post not allowed?

Kind Regards Finn

 

 

 

 

Attachment 1: elog.txt
Theme = default
Date Format = %A, %d %B, %Y
Time Format = %A, %d %B, %Y, %H:%M
Comment = Velkommen til TVIS Logbog
Attributes = Bruger, Station, Emne, Status, PM5
Options Bruger = FJ, PF, BS, TH, FS, JG, JB, NM, DS, PF, EK, PS, KJ
Options Station = ADC, V01, V02, V03, V03A, V04, V05, V06, V07, V08, V09, V10, B11, B12, B13, B14, B15, F17, F18, F19, F20, F21, F22, F23, F24, F25, F26, F27, F28, F29, M41, M42, K31, K32, K33, K34, K35, K36, K37, K38, K39, L71, L72, L73, L76, L77, P51, P52, P53, P54, P55, S90, S91, S95, S96, S97, S99, T53, Tracé
Options Emne = Arbejder på station, Afspærret/Sikret, Fejl på station, + Kedel, - Kedel, Havari, Leverance ændring, Producent Info, + Akkumuleringstank{1}, - Akkumuleringstank{2}, Hardware/Software, Kommunikation, Anlægstest, Måler kontrol, Lækage, Andet
{1} Preset text = TVIS har rådighed over akkumuleringstank
{2} Preset text = Ørsted har rådighed over akkumuleringstank
Options Status = Skal undersøges, Igangværende, Planlagt, Afsluttet 
ROptions PM5 = Ja
Tooltip PM5 = Angiv om fejlen er oprettet i PM5
Cell Style Status Skal undersøges  = background-color:red
Cell Style Status Igangværende = background-color:yellow
Cell Style Status Afsluttet = background-color:green
Cell Style Status Planlagt = background-color:orange
Required Attributes = Bruger, Station, Emne
Reverse sort = 1
Quick filter = Date, Station, Emne, Status
Allowed encoding = 1
Page Title = ELOG - $Emne
Summary lines = 20
Summary line length = 100
Message Width = 90
List after submit = 1
Menu commands = List, New, Reply, Edit, Delete, Duplicate, Find, Help
List Menu commands = New, Find, Select, Login, Logout, Synchronize, Config, Help
Guest menu commands = List, Find, Login, Help
Guest List Menu commands = List, Find, Login, Help
Deny config = PF, NM, FS, BS, JG, DS, PS, JB, TH, KJ
Deny Select = PF, NM, FS, BS, JG, DS, PS, JB, TH, KJ
Deny Delete = PF, NM, FS, BS, JG, DS, PS, JB, TH, KJ
Use Lock = 1
Email PM5 Ja = th@tvis.net, fj@tvis.net
Email emne Havari = fj@tvis.net
Email emne "+ Akkumuleringstank" = fj@tvis.net, helar@orsted.dk, bjael@orsted.dk, dosen@orsted.dk
Email emne "- Akkumuleringstank" = fj@tvis.net, helar@orsted.dk, bjael@orsted.dk, dosen@orsted.dk
Use Email From = $short_name@tvis.net
Use Email url =
Restrict edit = 1
Restrict edit time = 8
Search all logbooks = 0
Login expiration = 0
Preset Bruger = $short_name
Preset on reply Bruger = $short_name
Preset text = Oprettet af $short_name:
Append on reply = $short_name: \n\n
Quote on reply = 1
Reply string = 
Locked Attributes = Bruger
Show Attributes Edit = Bruger, Station, Emne, Status, PM5
Suppress default = 2
Suppress email on edit = 2
Resubmit default = 2
Propagate Attributes = Status
Mirror cron = 0 8-16 * * 1-5
Mirror user = FJ
Logfile = TVIS-log.txt
Logging level = 3
Admin textarea = 230,50
Admin user = FJ
Save drafts = 0
Autosave = 0
  69047   Fri Oct 18 08:50:27 2019 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionWindows3.1.4Re: Edit of multiple posts

Hi Finn,

I don't know if this was intended, but at least I know a possible solution: with the command
"Show Attributes Edit = "
you can limit the attribute list shown in the edit form to those that are not Locked.
 
I haven't tried, but I guess that should work.
Cheers
Andreas
Finn Junker wrote:

Hello Andreas

OK, I did install a version of ELOG with a minimum of settings and the edit of multiple settings works fine. I've tracked the issue to "Locked Attributes = Bruger".

If one or more of the attributes are locked i get the error "Error: Attribute option - keep original values - not existing". I'm not trying to change the locked attribute, but it seems when one is locked multiple editing is not possible.

Is that intended to work this way?

Kind Regards Finn

Andreas Luedeke wrote:

I use editing of multiple entries frequently and it works fine for me.

To understand your problem I would suggest that you try a minimal configuration. If you have a test logbook with just one or two fields and it still does not work, then post the config here that people can reproduce your problem - and hopefully find a fix.

Cheers, Andreas

Finn Junker wrote:

Hello Elog Forum

There is i ELOG the function to edit multiple posts eg. to change the staus from "ongoing" to "finished" -> in danish translation "igangværende" and "afsluttet", see the attached pictures.

When I select multiple post and want to edit them to status "afsluttet" i get the "udklip_2.jpg" entry form and change only the status to "afsluttet" (Finished)

The result is a error informing that the attribut "gem oprindelige værdier" does not exist. As a test i changed the text in the translation file from "Keep origianl values = gem oprindelige værdier" to "Keep origianl values = Keep origianl values" but the result is the same error: Attribut Keep original values does not exist.

Is there a solution to this or is or is mutiple editing of post not allowed?

Kind Regards Finn

 

 

 

  69046   Thu Oct 17 21:29:25 2019 Reply Johnsecondcomingtechnologies@fastmail.comQuestionLinuxV3.1.2-bd75964Re: How to get Elog server to produce web server log files in Linux.

Hi again everyone; a Sebastian suggested I use a reverse proxy to complete my need to have logs show up when someone 'lands' on my first entry page. I see that Elog will only start recording logs when someone has actually started to do some work.. like login, read a post, etc... but NOT when they first enter the login page or 'listings' pages. I have tried fowarding from my router (both lighty and Apache) but so for no good. I will also look into  a vhost option and shareing the same port (very difficult- if even possible)  to  solve my dilema.

John :)

Stefan Ritt wrote:

Have you tried

Logfile = ...
Logging level = 3

John wrote:

Hi, I have been trying for a long time to get my web server logs to record when someone accesses my Elog server. I've tried Apache2, Lighttpd, and others, all with no luck. Either the web servers complain that the port I have Elog on is in use, or I just don't get any readings. I need to see who is accessing my  Elog from the web, and I hope there is a way.

Thanks again for such a wonderful program,

John

 

 

  69045   Thu Oct 17 14:57:25 2019 Reply Finn Junkerfj@tvis.netQuestionWindows3.1.4Re: Edit of multiple posts

Hello Andreas

OK, I did install a version of ELOG with a minimum of settings and the edit of multiple settings works fine. I've tracked the issue to "Locked Attributes = Bruger".

If one or more of the attributes are locked i get the error "Error: Attribute option - keep original values - not existing". I'm not trying to change the locked attribute, but it seems when one is locked multiple editing is not possible.

Is that intended to work this way?

Kind Regards Finn

Andreas Luedeke wrote:

I use editing of multiple entries frequently and it works fine for me.

To understand your problem I would suggest that you try a minimal configuration. If you have a test logbook with just one or two fields and it still does not work, then post the config here that people can reproduce your problem - and hopefully find a fix.

Cheers, Andreas

Finn Junker wrote:

Hello Elog Forum

There is i ELOG the function to edit multiple posts eg. to change the staus from "ongoing" to "finished" -> in danish translation "igangværende" and "afsluttet", see the attached pictures.

When I select multiple post and want to edit them to status "afsluttet" i get the "udklip_2.jpg" entry form and change only the status to "afsluttet" (Finished)

The result is a error informing that the attribut "gem oprindelige værdier" does not exist. As a test i changed the text in the translation file from "Keep origianl values = gem oprindelige værdier" to "Keep origianl values = Keep origianl values" but the result is the same error: Attribut Keep original values does not exist.

Is there a solution to this or is or is mutiple editing of post not allowed?

Kind Regards Finn

 

 

ELOG V3.1.5-3fb85fa6