commit cf0189d46df613730bfa6ea4ec61bd012fd5137c
parent f79affece16802ad496041ae592baad0c358cadb
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date: Fri, 1 Jan 2016 15:38:01 +0100
Logswan 1.03 release
Diffstat:
11 files changed, 69 insertions(+), 35 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -1,10 +1,14 @@
###############################################################################
# #
-# Logswan 1.02 (c) by Frederic Cambus 2015 #
-# https://github.com/fcambus/logswan #
+# Logswan 1.03 #
+# Copyright (c) 2015-2016, Frederic Cambus #
+# http://www.logswan.org #
# #
-# Created: 2015/05/31 #
-# Last Updated: 2015/12/22 #
+# Created: 2015-05-31 #
+# Last Updated: 2016-01-01 #
+# #
+# Logswan is released under the BSD 3-Clause license. #
+# See LICENSE file for details. #
# #
###############################################################################
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,27 @@
+Logswan 1.03 (2016-01-01)
+
+- Remove header display and do not print name of processed file
+- Print results to stderr instead of stdout
+- Output JSON data to stdout instead of creating a new file
+- Define GeoIP databases path in CMakeLists.txt
+- Adding log file name in the JSON output
+- Removing some hardcoded values and replacing them with constants
+ defined in config.h
+- Breaking the loop when a match is found in the request parser
+- Using enumeration constants instead of macros
+- Process GeoIP continent information
+- Re-ordering protocols and methods with more common occurences on top of
+ the list, allowing to break earlier when iterating through the array
+- Adding support for reading logs from standard input
+- Renaming 'definitions' files to 'config'
+- Increasing countries array size, as an attempt to be future-proof
+- Initial support for using pledge() on OpenBSD
+- Documentation updates (HLL precision, Features list, GeoIP databases)
+- Updated output file example
+- Added a manual page
+
+
+
Logswan 1.02 (2015-11-02)
- Renaming 'resource' variable to 'request' in the 'logLine' struct
diff --git a/LICENSE b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2015, Frederic Cambus
+Copyright (c) 2015-2016, Frederic Cambus
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/TODO b/TODO
@@ -1,3 +1,2 @@
- Use strtok_r instead of strtok to tokenize lines?
- Companion tool to split logs by day
-- Create a manual page
diff --git a/src/config.c b/src/config.c
@@ -1,10 +1,11 @@
/*****************************************************************************/
/* */
-/* Logswan 1.02 (c) by Frederic Cambus 2015 */
-/* https://github.com/fcambus/logswan */
+/* Logswan 1.03 */
+/* Copyright (c) 2015-2016, Frederic Cambus */
+/* http://www.logswan.org */
/* */
-/* Created: 2015/05/31 */
-/* Last Updated: 2015/12/19 */
+/* Created: 2015-05-31 */
+/* Last Updated: 2016-01-01 */
/* */
/* Logswan is released under the BSD 3-Clause license. */
/* See LICENSE file for details. */
diff --git a/src/config.h b/src/config.h
@@ -1,10 +1,11 @@
/*****************************************************************************/
/* */
-/* Logswan 1.02 (c) by Frederic Cambus 2015 */
-/* https://github.com/fcambus/logswan */
+/* Logswan 1.03 */
+/* Copyright (c) 2015-2016, Frederic Cambus */
+/* http://www.logswan.org */
/* */
-/* Created: 2015/05/31 */
-/* Last Updated: 2015/12/22 */
+/* Created: 2015-05-31 */
+/* Last Updated: 2016-01-01 */
/* */
/* Logswan is released under the BSD 3-Clause license. */
/* See LICENSE file for details. */
@@ -14,7 +15,7 @@
#ifndef CONFIG_H
#define CONFIG_H
-#define VERSION "Logswan 1.02"
+#define VERSION "Logswan 1.03"
enum {
HLL_BITS = 20,
diff --git a/src/logswan.c b/src/logswan.c
@@ -1,10 +1,11 @@
/*****************************************************************************/
/* */
-/* Logswan 1.02 (c) by Frederic Cambus 2015 */
-/* https://github.com/fcambus/logswan */
+/* Logswan 1.03 */
+/* Copyright (c) 2015-2016, Frederic Cambus */
+/* http://www.logswan.org */
/* */
-/* Created: 2015/05/31 */
-/* Last Updated: 2015/12/22 */
+/* Created: 2015-05-31 */
+/* Last Updated: 2016-01-01 */
/* */
/* Logswan is released under the BSD 3-Clause license. */
/* See LICENSE file for details. */
diff --git a/src/output.c b/src/output.c
@@ -1,10 +1,11 @@
/*****************************************************************************/
/* */
-/* Logswan 1.02 (c) by Frederic Cambus 2015 */
-/* https://github.com/fcambus/logswan */
+/* Logswan 1.03 */
+/* Copyright (c) 2015-2016, Frederic Cambus */
+/* http://www.logswan.org */
/* */
-/* Created: 2015/05/31 */
-/* Last Updated: 2015/12/22 */
+/* Created: 2015-05-31 */
+/* Last Updated: 2016-01-01 */
/* */
/* Logswan is released under the BSD 3-Clause license. */
/* See LICENSE file for details. */
diff --git a/src/output.h b/src/output.h
@@ -1,10 +1,11 @@
/*****************************************************************************/
/* */
-/* Logswan 1.02 (c) by Frederic Cambus 2015 */
-/* https://github.com/fcambus/logswan */
+/* Logswan 1.03 */
+/* Copyright (c) 2015-2016, Frederic Cambus */
+/* http://www.logswan.org */
/* */
-/* Created: 2015/05/31 */
-/* Last Updated: 2015/12/22 */
+/* Created: 2015-05-31 */
+/* Last Updated: 2016-01-01 */
/* */
/* Logswan is released under the BSD 3-Clause license. */
/* See LICENSE file for details. */
diff --git a/src/parse.c b/src/parse.c
@@ -1,10 +1,11 @@
/*****************************************************************************/
/* */
-/* Logswan 1.02 (c) by Frederic Cambus 2015 */
-/* https://github.com/fcambus/logswan */
+/* Logswan 1.03 */
+/* Copyright (c) 2015-2016, Frederic Cambus */
+/* http://www.logswan.org */
/* */
-/* Created: 2015/05/31 */
-/* Last Updated: 2015/11/02 */
+/* Created: 2015-05-31 */
+/* Last Updated: 2016-01-01 */
/* */
/* Logswan is released under the BSD 3-Clause license. */
/* See LICENSE file for details. */
diff --git a/src/parse.h b/src/parse.h
@@ -1,10 +1,11 @@
/*****************************************************************************/
/* */
-/* Logswan 1.02 (c) by Frederic Cambus 2015 */
-/* https://github.com/fcambus/logswan */
+/* Logswan 1.03 */
+/* Copyright (c) 2015-2016, Frederic Cambus */
+/* http://www.logswan.org */
/* */
-/* Created: 2015/05/31 */
-/* Last Updated: 2015/11/02 */
+/* Created: 2015-05-31 */
+/* Last Updated: 2016-01-01 */
/* */
/* Logswan is released under the BSD 3-Clause license. */
/* See LICENSE file for details. */