Skip to content

Commit

Permalink
Revert "[SPARK-37733][BUILD] Change log level of tests to WARN"
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

This reverts commit c0cedb1.

### Why are the changes needed?

apache#35011 changes log level and causes some tests that check log message failed.

Actually apache#34965 was merged not long ago which fixes logging issue for hive-thriftserver module that produces large log output.

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

Pass tests.

Closes apache#35014 from viirya/revert-SPARK-37733.

Authored-by: Liang-Chi Hsieh <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
  • Loading branch information
viirya authored and HyukjinKwon committed Dec 24, 2021
1 parent c0cedb1 commit 24c5ddd
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion common/kvstore/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file target/unit-tests.log
rootLogger.level = warn
rootLogger.level = debug
rootLogger.appenderRef.file.ref = File

appender.file.type = File
Expand Down
2 changes: 1 addition & 1 deletion common/network-common/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file target/unit-tests.log
rootLogger.level = warn
rootLogger.level = debug
rootLogger.appenderRef.file.ref = File

appender.file.type = File
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file target/unit-tests.log
rootLogger.level = warn
rootLogger.level = debug
rootLogger.appenderRef.file.ref = File

appender.file.type = File
Expand Down
2 changes: 1 addition & 1 deletion core/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file target/unit-tests.log
rootLogger.level = warn
rootLogger.level = info
rootLogger.appenderRef.file.ref = ${sys:test.appender:-File}

appender.file.type = File
Expand Down
2 changes: 1 addition & 1 deletion external/avro/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file target/unit-tests.log
rootLogger.level = warn
rootLogger.level = info
rootLogger.appenderRef.file.ref = File

appender.file.type = File
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file target/unit-tests.log
rootLogger.level = warn
rootLogger.level = info
rootLogger.appenderRef.file.ref = ${sys:test.appender:-File}

appender.file.type = File
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file target/unit-tests.log
rootLogger.level = warn
rootLogger.level = info
rootLogger.appenderRef.file.ref = File

appender.file.type = File
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file target/unit-tests.log
rootLogger.level = warn
rootLogger.level = info
rootLogger.appenderRef.file.ref = File

appender.file.type = File
Expand Down
2 changes: 1 addition & 1 deletion external/kafka-0-10/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file target/unit-tests.log
rootLogger.level = warn
rootLogger.level = info
rootLogger.appenderRef.file.ref = File

appender.file.type = File
Expand Down
2 changes: 1 addition & 1 deletion external/kinesis-asl/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file target/unit-tests.log
rootLogger.level = warn
rootLogger.level = info
rootLogger.appenderRef.file.ref = File

appender.file.type = File
Expand Down
2 changes: 1 addition & 1 deletion graphx/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file target/unit-tests.log
rootLogger.level = warn
rootLogger.level = info
rootLogger.appenderRef.file.ref = File

appender.file.type = File
Expand Down
2 changes: 1 addition & 1 deletion hadoop-cloud/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file target/unit-tests.log
rootLogger.level = warn
rootLogger.level = info
rootLogger.appenderRef.file.ref = ${sys:test.appender:-File}

appender.file.type = File
Expand Down
2 changes: 1 addition & 1 deletion launcher/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file core/target/unit-tests.log
rootLogger.level = warn
rootLogger.level = info
rootLogger.appenderRef.file.ref = ${sys:test.appender:-File}

appender.file.type = File
Expand Down
2 changes: 1 addition & 1 deletion mllib/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file target/unit-tests.log
rootLogger.level = warn
rootLogger.level = info
rootLogger.appenderRef.file.ref = File

appender.file.type = File
Expand Down
2 changes: 1 addition & 1 deletion repl/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the target/unit-tests.log
rootLogger.level = warn
rootLogger.level = info
rootLogger.appenderRef.file.ref = file

appender.file.type = File
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file target/unit-tests.log
rootLogger.level = warn
rootLogger.level = info
rootLogger.appenderRef.file.ref = File

appender.file.type = File
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file target/integration-tests.log
rootLogger.level = warn
rootLogger.level = info
rootLogger.appenderRef.file.ref = File

appender.file.type = File
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file target/unit-tests.log
rootLogger.level = warn
rootLogger.level = debug
rootLogger.appenderRef.file.ref = File

appender.file.type = File
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file target/unit-tests.log
rootLogger.level = warn
rootLogger.level = debug
rootLogger.appenderRef.file.ref = File

appender.file.type = File
Expand Down
2 changes: 1 addition & 1 deletion sql/catalyst/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file target/unit-tests.log
rootLogger.level = warn
rootLogger.level = info
rootLogger.appenderRef.file.ref = File

appender.file.type = File
Expand Down
2 changes: 1 addition & 1 deletion sql/core/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file core/target/unit-tests.log
rootLogger.level = warn
rootLogger.level = info
rootLogger.appenderRef.stdout.ref = STDOUT
rootLogger.appenderRef.file.ref = File

Expand Down
2 changes: 1 addition & 1 deletion sql/hive-thriftserver/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file hive-thriftserver/target/unit-tests.log
rootLogger.level = warn
rootLogger.level = info
rootLogger.appenderRef.stdout.ref = STDOUT
rootLogger.appenderRef.file.ref = File

Expand Down
2 changes: 1 addition & 1 deletion sql/hive/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file core/target/unit-tests.log
rootLogger.level = warn
rootLogger.level = debug
rootLogger.appenderRef.stdout.ref = STDOUT
rootLogger.appenderRef.file.ref = File

Expand Down
2 changes: 1 addition & 1 deletion streaming/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# Set everything to be logged to the file target/unit-tests.log
rootLogger.level = warn
rootLogger.level = info
rootLogger.appenderRef.file.ref = File

appender.file.type = File
Expand Down

0 comments on commit 24c5ddd

Please sign in to comment.