summaryrefslogtreecommitdiffstats
path: root/modules/log
diff options
context:
space:
mode:
Diffstat (limited to 'modules/log')
-rw-r--r--modules/log/buffer.go3
-rw-r--r--modules/log/buffer_test.go3
-rw-r--r--modules/log/colors.go3
-rw-r--r--modules/log/colors_router.go3
-rw-r--r--modules/log/conn.go3
-rw-r--r--modules/log/conn_test.go3
-rw-r--r--modules/log/console.go3
-rw-r--r--modules/log/console_other.go3
-rw-r--r--modules/log/console_test.go3
-rw-r--r--modules/log/console_windows.go3
-rw-r--r--modules/log/errors.go3
-rw-r--r--modules/log/event.go3
-rw-r--r--modules/log/file.go3
-rw-r--r--modules/log/file_test.go3
-rw-r--r--modules/log/flags.go3
-rw-r--r--modules/log/groutinelabel.go3
-rw-r--r--modules/log/groutinelabel_test.go3
-rw-r--r--modules/log/level.go3
-rw-r--r--modules/log/level_test.go3
-rw-r--r--modules/log/log.go3
-rw-r--r--modules/log/log_test.go3
-rw-r--r--modules/log/logger.go3
-rw-r--r--modules/log/multichannel.go3
-rw-r--r--modules/log/provider.go3
-rw-r--r--modules/log/smtp.go3
-rw-r--r--modules/log/smtp_test.go3
-rw-r--r--modules/log/stack.go3
-rw-r--r--modules/log/writer.go3
-rw-r--r--modules/log/writer_test.go3
29 files changed, 29 insertions, 58 deletions
diff --git a/modules/log/buffer.go b/modules/log/buffer.go
index 9535522bb6..1eee2465f1 100644
--- a/modules/log/buffer.go
+++ b/modules/log/buffer.go
@@ -1,6 +1,5 @@
// Copyright 2022 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/buffer_test.go b/modules/log/buffer_test.go
index 8ec74bc78d..1c39006050 100644
--- a/modules/log/buffer_test.go
+++ b/modules/log/buffer_test.go
@@ -1,6 +1,5 @@
// Copyright 2022 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/colors.go b/modules/log/colors.go
index 15e23a0dac..02781afe84 100644
--- a/modules/log/colors.go
+++ b/modules/log/colors.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/colors_router.go b/modules/log/colors_router.go
index 888198d4e9..efc7337b6b 100644
--- a/modules/log/colors_router.go
+++ b/modules/log/colors_router.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/conn.go b/modules/log/conn.go
index 155f2866ca..39d5234214 100644
--- a/modules/log/conn.go
+++ b/modules/log/conn.go
@@ -1,7 +1,6 @@
// Copyright 2014 The Gogs Authors. All rights reserved.
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/conn_test.go b/modules/log/conn_test.go
index 1d373506a4..445bd77653 100644
--- a/modules/log/conn_test.go
+++ b/modules/log/conn_test.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/console.go b/modules/log/console.go
index fc7c9b4967..8764d984ac 100644
--- a/modules/log/console.go
+++ b/modules/log/console.go
@@ -1,7 +1,6 @@
// Copyright 2014 The Gogs Authors. All rights reserved.
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/console_other.go b/modules/log/console_other.go
index b5cac55b52..c30be41544 100644
--- a/modules/log/console_other.go
+++ b/modules/log/console_other.go
@@ -1,6 +1,5 @@
// Copyright 2022 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
//go:build !windows
diff --git a/modules/log/console_test.go b/modules/log/console_test.go
index 4da87b48a3..e4c3882d4f 100644
--- a/modules/log/console_test.go
+++ b/modules/log/console_test.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/console_windows.go b/modules/log/console_windows.go
index ea47e5d624..54dac12fa0 100644
--- a/modules/log/console_windows.go
+++ b/modules/log/console_windows.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/errors.go b/modules/log/errors.go
index 1fe54d4265..942639a434 100644
--- a/modules/log/errors.go
+++ b/modules/log/errors.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/event.go b/modules/log/event.go
index aebd156212..4466f7ff34 100644
--- a/modules/log/event.go
+++ b/modules/log/event.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/file.go b/modules/log/file.go
index d0cba7817c..13386a320f 100644
--- a/modules/log/file.go
+++ b/modules/log/file.go
@@ -1,6 +1,5 @@
// Copyright 2014 The Gogs Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/file_test.go b/modules/log/file_test.go
index cc2b9fe077..f1ca23d342 100644
--- a/modules/log/file_test.go
+++ b/modules/log/file_test.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/flags.go b/modules/log/flags.go
index 95950548ec..4a3732600b 100644
--- a/modules/log/flags.go
+++ b/modules/log/flags.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/groutinelabel.go b/modules/log/groutinelabel.go
index 0d3739fd98..829c217574 100644
--- a/modules/log/groutinelabel.go
+++ b/modules/log/groutinelabel.go
@@ -1,6 +1,5 @@
// Copyright 2022 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/groutinelabel_test.go b/modules/log/groutinelabel_test.go
index 8e23721b86..34e99653d6 100644
--- a/modules/log/groutinelabel_test.go
+++ b/modules/log/groutinelabel_test.go
@@ -1,6 +1,5 @@
// Copyright 2022 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/level.go b/modules/log/level.go
index 5964ed8f8b..3c8a736b30 100644
--- a/modules/log/level.go
+++ b/modules/log/level.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/level_test.go b/modules/log/level_test.go
index 47f77738c5..cd18a807d8 100644
--- a/modules/log/level_test.go
+++ b/modules/log/level_test.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/log.go b/modules/log/log.go
index 4303ecf4c0..73f908dfab 100644
--- a/modules/log/log.go
+++ b/modules/log/log.go
@@ -1,6 +1,5 @@
// Copyright 2014 The Gogs Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/log_test.go b/modules/log/log_test.go
index 33f68c8e8e..819cdb521f 100644
--- a/modules/log/log_test.go
+++ b/modules/log/log_test.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/logger.go b/modules/log/logger.go
index 0045d79322..56e39c392e 100644
--- a/modules/log/logger.go
+++ b/modules/log/logger.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/multichannel.go b/modules/log/multichannel.go
index 519abf663d..8ccb08179c 100644
--- a/modules/log/multichannel.go
+++ b/modules/log/multichannel.go
@@ -1,6 +1,5 @@
// Copyright 2020 The Gogs Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/provider.go b/modules/log/provider.go
index e03e6f74a7..490c3fa71b 100644
--- a/modules/log/provider.go
+++ b/modules/log/provider.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/smtp.go b/modules/log/smtp.go
index 61af50b81a..e385020c67 100644
--- a/modules/log/smtp.go
+++ b/modules/log/smtp.go
@@ -1,7 +1,6 @@
// Copyright 2014 The Gogs Authors. All rights reserved.
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/smtp_test.go b/modules/log/smtp_test.go
index c8758bf6be..d7d28f28f8 100644
--- a/modules/log/smtp_test.go
+++ b/modules/log/smtp_test.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/stack.go b/modules/log/stack.go
index 4b40d81ab7..d4496cff03 100644
--- a/modules/log/stack.go
+++ b/modules/log/stack.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/writer.go b/modules/log/writer.go
index 1c4f5b4a19..ac4b3c8c4e 100644
--- a/modules/log/writer.go
+++ b/modules/log/writer.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log
diff --git a/modules/log/writer_test.go b/modules/log/writer_test.go
index 99a5fd3406..8c03f87d90 100644
--- a/modules/log/writer_test.go
+++ b/modules/log/writer_test.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package log