ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
542
|
Fri May 14 06:19:40 2004 |
| nait tauh | nait@no2bl.no-ip.com | Question | Linux | 2.5.2 | Using date and subst date |
I'm trying capture any edit/modified entry with the following, Using the
real date format instead of text string so that I could do a quick filter on it.
Type modified = date
Subst on Edit modified = $date
Problem: It seem that the Subst on Edit always default to 1 Jan 1970 instead
of current date on edit screen.
Could it be $date is a string and not compatible with tape date? or is there
a variable or function to convert $date to date format?
Thanks,
nait |
546
|
Sat May 29 04:23:58 2004 |
| nait tauh | nait@no2bl.no-ip.com | Question | Linux | 2.5.2 | Re: Using date and subst date |
> I fixed that problem, new version under
> http://midas.psi.ch/cgi-bin/cvsweb/elog/src/elogd.c?rev=1.328
Any binary build anywhere that I can pick? Thanks.
nait. |
547
|
Sat May 29 04:28:38 2004 |
| nait tauh | nait@no2bl.no-ip.com | Request | Linux | 2.5.2 | Mail notification without attachment possible? |
I just noticed the problem of mail notification with big attachments. For a
files or photos exchange setup we could run into load and bandwidth problem
quickly. Any way to restrict mail notification by attributes or without
attachment?
Thanks,
nait. |
549
|
Thu Jun 3 17:15:56 2004 |
| nait tauh | nait@no2bl.no-ip.com | Question | Linux | 2.5.2 | Re: Using date and subst date |
> http://midas.psi.ch/elog/download/windows/elogd-snapshot.exe
>
> is for windows, for linux you have to recompile with
>
> gcc -O -o elogd elogd.c
>
> Best regards,
>
> Stefan
Hi Stefan,
I tried compile it in gentoo 1.4 GCC 3.3.3 without problem. However, it refuse
to run on ipcop box. The error message,
./elogd: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./elogd)
I guess the kernel and/or compiler version is not matching. Any simple way to
fix it? Thanks for your help?
nait. |
551
|
Thu Jun 3 18:28:02 2004 |
| nait tauh | nait@no2bl.no-ip.com | Question | Linux | 2.5.2 | Re: Using date and subst date |
> Looks like a weird Linux installation. Maybe try to link static:
>
> gcc -O -static -o elogd elogd.c
>
> executable will be much bigger, but maybe work...
Now I have more error. ;(
$ gcc -O -static -o elogd elogd.c
elogd.c:792: warning: conflicting types for built-in function `logf'
/tmp/ccysvxip.o(.text+0x12f3): In function `setgroup':
: warning: Using 'initgroups' in statically linked applications requires at runtime
the shared libraries from the glibc version used for linking
/tmp/ccysvxip.o(.text+0x12cd): In function `setgroup':
: warning: Using 'getgrnam' in statically linked applications requires at runtime
the shared libraries from the glibc version used for linking
/tmp/ccysvxip.o(.text+0x1351): In function `setuser':
: warning: Using 'getpwnam' in statically linked applications requires at runtime
the shared libraries from the glibc version used for linking
/tmp/ccysvxip.o(.text+0x2fe97): In function `server_loop':
: warning: Using 'gethostbyaddr' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/tmp/ccysvxip.o(.text+0x15ca): In function `sendmail':
: warning: Using 'gethostbyname' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
Maybe you can post your elogd build.... just for me. :)
nait. |
555
|
Fri Jun 4 16:43:34 2004 |
| nait tauh | nait@no2bl.no-ip.com | Question | Linux | 2.5.2 | Re: Using date and subst date |
> I compiled one (just for you :))), available at
>
> http://midas.psi.ch/elog/download/tar/elogd-snapshot.gz
>
> Unzip it and rename it to "elogd". But if you have problems with missing shared C
> libraries, I cannot guarantee that it works. In that case you have to wait for the next
> official release.
Thank you very much.... it work.
nait. |
559
|
Wed Jun 16 10:34:04 2004 |
| nait tauh | nait@no2bl.no-ip.com | Request | Linux | 2.5.2 | Re: Mail notification without attachment possible? |
> Use
>
> Email format = 6
>
> to restrict email notifications to URL and attributes only (without
> attachment). A size limit for email notifications is right now not implemented.
Thanks... Email format = 6 works. It cut out the subject too.
Any documentation on Email Format = ??
Thanks,
nait. |
560
|
Wed Jun 16 10:47:26 2004 |
| nait tauh | nait@no2bl.no-ip.com | Question | Linux | 2.5.2 | Re: Using date and subst date |
>
> Thank you very much.... it work.
> nait.
Hi Stefan,
It has a bug. The filter will fail on the initial page of the logbook.
example,
on http://10.10.10.10:10/mylogbook/
when select category filter the system will return
http://10.10.10.10:10/myylogbook/&category=hardware which is bad
on http://10.10.10.10:10/mylogbook/page or page1/page2 etc..other then the initial page,
when select category filter the system return the correct result.
http://10.10.10.10:10/mylogbook/page?category=hardware.
I have not tested 2.5.3.
nait. |