| From: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | markir(at)coretech(dot)co(dot)nz, pgsql-hackers-win32(at)postgresql(dot)org |
| Subject: | Re: Eventlog |
| Date: | 2004-08-07 10:53:07 |
| Message-ID: | 4114B493.3010303@pse-consulting.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers-win32 |
Tom Lane wrote:
>
>
> Okay, that's CVS tip from my perspective too. Anyone have comments
> about why the eventlog log is so noisy? It's outside my competence...
This looks like an installation problem; I don't see that on my machine.
The eventlog will receive an eventID (postgresql uses only 0), which is
an index into a message table provided by the service (it's a binary
resource). If that message is not present, or if the message provider
isn't registered for the server, the text mentioned is displayed.
For pgsql, this message is just "%s", to use it generically.
To check if the dll is registered correctly:
You should have
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\PostgreSQL]
"EventMessageFile"="C:\\Program Files\\ PostgreSQL\\7.5\\lib\\pgevent.dll"
or another valid pgevent.dll path. Adding this might need a machine
restart (yes, it's win...)
I noticed a trailing '.' on a single line in every eventlog entry, the
attached patch will remove this.
Regards,
Andreas
| Attachment | Content-Type | Size |
|---|---|---|
| msgevent.patch | text/x-patch | 401 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Page | 2004-08-07 11:13:55 | Re: Eventlog |
| Previous Message | Andreas Pflug | 2004-08-07 09:58:44 | Re: make fails if path has spaces |