Rewrite dirty code around log timestamp comparison to find the specified begin or ending date.
Update documentation about log_duration, log_min_duration_statement and log_statement.
Update to version 3.0