Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong default value for USE_LOG4J #3

Open
soliverr opened this issue Mar 24, 2016 · 0 comments
Open

Wrong default value for USE_LOG4J #3

soliverr opened this issue Mar 24, 2016 · 0 comments

Comments

@soliverr
Copy link
Contributor

PLOGPARAM package definition has DEFAULT_USE_LOG4J constant for LOG4J output mode in lines.

There is a check if package PLOG_OUT_AQ is installed.

A package PLOG_OUT_AQ may be installed by user: see install.sql

If PLOG_OUT_AQ package is not installed, we got an error in default output context:

SQL> exec plog.fatal( 'text' );
BEGIN plog.fatal( 'text' ); END;

*
ERROR at line 1:
ORA-20200: Parameter USE_LOG4J is TRUE but no advanced queue output (package
PLOG_OUT_AQ) is installed
ORA-06512: at "PL_SQL.PLOG", line 1432
ORA-06512: at "PL_SQL.PLOG", line 1542
ORA-06512: at "PL_SQL.PLOG", line 1824
ORA-06512: at "PL_SQL.PLOG", line 3056
ORA-06512: at line 1
soliverr added a commit to soliverr/log4plsql that referenced this issue Mar 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant