[
https://issues.apache.org/jira/browse/IMPALA-13822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17933471#comment-17933471
]
ASF subversion and git services commented on IMPALA-13822:
----------------------------------------------------------
Commit 6f2ac8a4067558a1eee58eb506275d22049fdba3 in impala's branch
refs/heads/master from Riza Suminto
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=6f2ac8a40 ]
IMPALA-13822: Add more detail in impala_connection.py logs
This patch make impala_connection.py to use the same log format as
declared in conftest.py. Connection specific logs will have the protocol
name printed. Modified set_configuration() and
set_configuration_option() to make option related logging more concise.
Moved LOG_FORMAT from conftest.py to patterns.py for reuse in
impala_connection.py.
Testing:
- Run TestExprLimits locally and confirm that the log lines printed at
logs/ee_tests/results/TEST-impala-parallel.xml is OK.
Change-Id: I44ea7fbec15684ac5379703f781a400b4f17da8d
Reviewed-on: http://gerrit.cloudera.org:8080/22577
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Csaba Ringhofer <[email protected]>
> impala_connection.py and conftest.py should share same log format
> -----------------------------------------------------------------
>
> Key: IMPALA-13822
> URL: https://issues.apache.org/jira/browse/IMPALA-13822
> Project: IMPALA
> Issue Type: Improvement
> Components: Infrastructure, Test
> Reporter: Riza Suminto
> Assignee: Riza Suminto
> Priority: Major
> Fix For: Impala 5.0.0
>
>
> Currently, conftest.py use following log format:
> {code:java}
> LOG_FORMAT = "-- %(asctime)s %(levelname)-8s %(threadName)s: %(message)s"
> {code}
> impala_connection.py use following format:
> {code:java}
> # All logging needs to be either executable SQL or a SQL comment (prefix with
> --).
> console_handler.setFormatter(logging.Formatter('%(message)s')) {code}
> They have similar intention, but LOG_FORMAT at conftest.py has more detail
> and should be preferred.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]