From 46651ce6fe013220ed397add242004d764fc0153 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 14:15:05 +0200 Subject: Adding upstream version 14.5. Signed-off-by: Daniel Baumann --- doc/src/sgml/html/event-log-registration.html | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 doc/src/sgml/html/event-log-registration.html (limited to 'doc/src/sgml/html/event-log-registration.html') diff --git a/doc/src/sgml/html/event-log-registration.html b/doc/src/sgml/html/event-log-registration.html new file mode 100644 index 0000000..add565f --- /dev/null +++ b/doc/src/sgml/html/event-log-registration.html @@ -0,0 +1,28 @@ + +19.12. Registering Event Log on Windows

19.12. Registering Event Log on Windows

+ To register a Windows + event log library with the operating system, + issue this command: +

+regsvr32 pgsql_library_directory/pgevent.dll
+

+ This creates registry entries used by the event viewer, under the default + event source named PostgreSQL. +

+ To specify a different event source name (see + event_source), use the /n + and /i options: +

+regsvr32 /n /i:event_source_name pgsql_library_directory/pgevent.dll
+

+

+ To unregister the event log library from + the operating system, issue this command: +

+regsvr32 /u [/i:event_source_name] pgsql_library_directory/pgevent.dll
+

+

Note

+ To enable event logging in the database server, modify + log_destination to include + eventlog in postgresql.conf. +

\ No newline at end of file -- cgit v1.2.3