diff --git a/pom.xml b/pom.xml index 3870cd1..cb916ce 100644 --- a/pom.xml +++ b/pom.xml @@ -1,7 +1,6 @@ 4.0.0 - com.spotify logging 2.2.9-SNAPSHOT jar @@ -11,9 +10,9 @@ https://github.com/spotify/logging-java - org.sonatype.oss - oss-parent - 9 + com.spotify + foss-root + 10 @@ -120,86 +119,13 @@ - org.apache.maven.plugins - maven-compiler-plugin - 3.0 - - 1.6 - 1.6 - + maven-checkstyle-plugin - org.apache.maven.plugins - maven-release-plugin - 2.5 - - v@{project.version} - - - - org.apache.maven.scm - maven-scm-provider-gitexe - 1.9 - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.5 - true - - ossrh - https://oss.sonatype.org/ - true - - - - org.apache.maven.plugins maven-enforcer-plugin - 1.2 - - - enforce - - - - - - - enforce - - - - - - org.apache.maven.plugins - maven-source-plugin - 2.2 - - - attach-sources - - jar - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8.1 - - private - - - - attach-javadocs - - jar - - - + maven-failsafe-plugin diff --git a/src/main/java/com/spotify/logging/JewelCliLoggingConfigurator.java b/src/main/java/com/spotify/logging/JewelCliLoggingConfigurator.java index 69dcbb4..d493813 100644 --- a/src/main/java/com/spotify/logging/JewelCliLoggingConfigurator.java +++ b/src/main/java/com/spotify/logging/JewelCliLoggingConfigurator.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2014 Spotify AB * diff --git a/src/main/java/com/spotify/logging/JewelCliLoggingOptions.java b/src/main/java/com/spotify/logging/JewelCliLoggingOptions.java index b4a1e60..5970f45 100644 --- a/src/main/java/com/spotify/logging/JewelCliLoggingOptions.java +++ b/src/main/java/com/spotify/logging/JewelCliLoggingOptions.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2014 Spotify AB * diff --git a/src/main/java/com/spotify/logging/LoggingConfigurator.java b/src/main/java/com/spotify/logging/LoggingConfigurator.java index f21e2b9..8add4ae 100644 --- a/src/main/java/com/spotify/logging/LoggingConfigurator.java +++ b/src/main/java/com/spotify/logging/LoggingConfigurator.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2014 Spotify AB * diff --git a/src/main/java/com/spotify/logging/LoggingSupport.java b/src/main/java/com/spotify/logging/LoggingSupport.java index d80f45f..cfdf6b7 100644 --- a/src/main/java/com/spotify/logging/LoggingSupport.java +++ b/src/main/java/com/spotify/logging/LoggingSupport.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2014 Spotify AB * diff --git a/src/main/java/com/spotify/logging/SingleLineStackTrace.java b/src/main/java/com/spotify/logging/SingleLineStackTrace.java index da2dac4..5a30d60 100644 --- a/src/main/java/com/spotify/logging/SingleLineStackTrace.java +++ b/src/main/java/com/spotify/logging/SingleLineStackTrace.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2014 Spotify AB * diff --git a/src/main/java/com/spotify/logging/UncaughtExceptionLogger.java b/src/main/java/com/spotify/logging/UncaughtExceptionLogger.java index a2c6bf5..42a1f49 100644 --- a/src/main/java/com/spotify/logging/UncaughtExceptionLogger.java +++ b/src/main/java/com/spotify/logging/UncaughtExceptionLogger.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2014 Spotify AB * diff --git a/src/main/java/com/spotify/logging/logback/CustomLogstashEncoder.java b/src/main/java/com/spotify/logging/logback/CustomLogstashEncoder.java index 7802e5f..a91f3b3 100644 --- a/src/main/java/com/spotify/logging/logback/CustomLogstashEncoder.java +++ b/src/main/java/com/spotify/logging/logback/CustomLogstashEncoder.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + package com.spotify.logging.logback; import net.logstash.logback.encoder.LogstashEncoder; diff --git a/src/main/java/com/spotify/logging/logback/LevelRangeFilter.java b/src/main/java/com/spotify/logging/logback/LevelRangeFilter.java index 53c523a..a8e1cb6 100644 --- a/src/main/java/com/spotify/logging/logback/LevelRangeFilter.java +++ b/src/main/java/com/spotify/logging/logback/LevelRangeFilter.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2014 Spotify AB * diff --git a/src/main/java/com/spotify/logging/logback/LoggerThresholdFilter.java b/src/main/java/com/spotify/logging/logback/LoggerThresholdFilter.java index 0481191..a4b6bcf 100644 --- a/src/main/java/com/spotify/logging/logback/LoggerThresholdFilter.java +++ b/src/main/java/com/spotify/logging/logback/LoggerThresholdFilter.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2014 Spotify AB * diff --git a/src/main/java/com/spotify/logging/logback/MillisecondPrecisionSyslogAppender.java b/src/main/java/com/spotify/logging/logback/MillisecondPrecisionSyslogAppender.java index 3892cc6..960c08d 100644 --- a/src/main/java/com/spotify/logging/logback/MillisecondPrecisionSyslogAppender.java +++ b/src/main/java/com/spotify/logging/logback/MillisecondPrecisionSyslogAppender.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2014 Spotify AB * diff --git a/src/main/java/com/spotify/logging/logback/MillisecondPrecisionSyslogStartConverter.java b/src/main/java/com/spotify/logging/logback/MillisecondPrecisionSyslogStartConverter.java index cec225c..4c39b45 100644 --- a/src/main/java/com/spotify/logging/logback/MillisecondPrecisionSyslogStartConverter.java +++ b/src/main/java/com/spotify/logging/logback/MillisecondPrecisionSyslogStartConverter.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2014 Spotify AB * diff --git a/src/main/java/com/spotify/logging/logback/SpotifyInternalAppender.java b/src/main/java/com/spotify/logging/logback/SpotifyInternalAppender.java index 2761de7..daa4a5d 100644 --- a/src/main/java/com/spotify/logging/logback/SpotifyInternalAppender.java +++ b/src/main/java/com/spotify/logging/logback/SpotifyInternalAppender.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + package com.spotify.logging.logback; import com.google.common.annotations.VisibleForTesting; diff --git a/src/test/java/com/spotify/logging/JewelCliLoggingConfiguratorTest.java b/src/test/java/com/spotify/logging/JewelCliLoggingConfiguratorTest.java index f9a00dd..2b500be 100644 --- a/src/test/java/com/spotify/logging/JewelCliLoggingConfiguratorTest.java +++ b/src/test/java/com/spotify/logging/JewelCliLoggingConfiguratorTest.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2014 Spotify AB * diff --git a/src/test/java/com/spotify/logging/LoggerTest.java b/src/test/java/com/spotify/logging/LoggerTest.java index 96ca488..feefef0 100644 --- a/src/test/java/com/spotify/logging/LoggerTest.java +++ b/src/test/java/com/spotify/logging/LoggerTest.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2014 Spotify AB * diff --git a/src/test/java/com/spotify/logging/LoggingConfiguratorTest.java b/src/test/java/com/spotify/logging/LoggingConfiguratorTest.java index a2a628e..8c05785 100644 --- a/src/test/java/com/spotify/logging/LoggingConfiguratorTest.java +++ b/src/test/java/com/spotify/logging/LoggingConfiguratorTest.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2014 Spotify AB * diff --git a/src/test/java/com/spotify/logging/LoggingSupportTest.java b/src/test/java/com/spotify/logging/LoggingSupportTest.java index 323904d..c2cb04e 100644 --- a/src/test/java/com/spotify/logging/LoggingSupportTest.java +++ b/src/test/java/com/spotify/logging/LoggingSupportTest.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2014 Spotify AB * diff --git a/src/test/java/com/spotify/logging/example/CommandLineArgumentExample.java b/src/test/java/com/spotify/logging/example/CommandLineArgumentExample.java index 03a1d2f..be237a5 100644 --- a/src/test/java/com/spotify/logging/example/CommandLineArgumentExample.java +++ b/src/test/java/com/spotify/logging/example/CommandLineArgumentExample.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2014 Spotify AB * diff --git a/src/test/java/com/spotify/logging/example/ConfigFileExample.java b/src/test/java/com/spotify/logging/example/ConfigFileExample.java index 0c3d4de..5c3e4e5 100644 --- a/src/test/java/com/spotify/logging/example/ConfigFileExample.java +++ b/src/test/java/com/spotify/logging/example/ConfigFileExample.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2014 Spotify AB * diff --git a/src/test/java/com/spotify/logging/example/SimpleConsoleExample.java b/src/test/java/com/spotify/logging/example/SimpleConsoleExample.java index 02e80be..369d6fc 100644 --- a/src/test/java/com/spotify/logging/example/SimpleConsoleExample.java +++ b/src/test/java/com/spotify/logging/example/SimpleConsoleExample.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2014 Spotify AB * diff --git a/src/test/java/com/spotify/logging/example/SimpleSyslogExample.java b/src/test/java/com/spotify/logging/example/SimpleSyslogExample.java index 16912b9..c1bbad4 100644 --- a/src/test/java/com/spotify/logging/example/SimpleSyslogExample.java +++ b/src/test/java/com/spotify/logging/example/SimpleSyslogExample.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2014 Spotify AB * diff --git a/src/test/java/com/spotify/logging/logback/LevelRangeFilterTest.java b/src/test/java/com/spotify/logging/logback/LevelRangeFilterTest.java index 8915ee1..2491174 100644 --- a/src/test/java/com/spotify/logging/logback/LevelRangeFilterTest.java +++ b/src/test/java/com/spotify/logging/logback/LevelRangeFilterTest.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2014 Spotify AB * diff --git a/src/test/java/com/spotify/logging/logback/LoggerThresholdFilterTest.java b/src/test/java/com/spotify/logging/logback/LoggerThresholdFilterTest.java index 26f8e82..f775c64 100644 --- a/src/test/java/com/spotify/logging/logback/LoggerThresholdFilterTest.java +++ b/src/test/java/com/spotify/logging/logback/LoggerThresholdFilterTest.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2014 Spotify AB * diff --git a/src/test/java/com/spotify/logging/logback/LogstashEncoderTest.java b/src/test/java/com/spotify/logging/logback/LogstashEncoderTest.java index 479728c..f0dd339 100644 --- a/src/test/java/com/spotify/logging/logback/LogstashEncoderTest.java +++ b/src/test/java/com/spotify/logging/logback/LogstashEncoderTest.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + package com.spotify.logging.logback; import static net.logstash.logback.argument.StructuredArguments.value; diff --git a/src/test/java/com/spotify/logging/logback/MillisecondPrecisionSyslogStartConverterTest.java b/src/test/java/com/spotify/logging/logback/MillisecondPrecisionSyslogStartConverterTest.java index 2a022a5..6b5fc05 100644 --- a/src/test/java/com/spotify/logging/logback/MillisecondPrecisionSyslogStartConverterTest.java +++ b/src/test/java/com/spotify/logging/logback/MillisecondPrecisionSyslogStartConverterTest.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + /* * Copyright (c) 2012-2016 Spotify AB * diff --git a/src/test/java/com/spotify/logging/logback/SpotifyInternalAppenderTest.java b/src/test/java/com/spotify/logging/logback/SpotifyInternalAppenderTest.java index 224b97a..214f4e1 100644 --- a/src/test/java/com/spotify/logging/logback/SpotifyInternalAppenderTest.java +++ b/src/test/java/com/spotify/logging/logback/SpotifyInternalAppenderTest.java @@ -1,3 +1,23 @@ +/*- + * -\-\- + * logging + * -- + * Copyright (C) 2016 - 2020 Spotify AB + * -- + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * -/-/- + */ + package com.spotify.logging.logback; import com.spotify.logging.LoggingConfigurator;