Skip to content

Commit

Permalink
Version 0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
driskell committed Jun 29, 2014
1 parent 46dd54a commit 398571f
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
18 changes: 18 additions & 0 deletions docs/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Change Log

## 0.10

*29th June 2014*

* Support for Go 1.3 (#3)
* Additional configuration files can be imported by the main configuration file
using the new `"includes"` section which is an array of Fileglobs. (#5)
* Added `make selfsigned` to allow quick generation of SSL certificates for
testing
* A `"general"` section has been added to the configuration file
* The directory to store the .log-courier persistence file can now be
configured under `"general"/"persist directory"`.
* How often the filesystem is examined for log file appearances or movements
can now be configured under `"general"/"prospect interval"`.
* Fix gem build instructions (#6)
* Fix instances where a file entry has multiple `"fields"` entries results in
all fields having the same value as the first field. (#4)

## 0.9

*14th June 2014*
Expand Down
2 changes: 1 addition & 1 deletion log-courier.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |gem|
gem.name = 'log-courier'
gem.version = '0.9'
gem.version = '0.10'
gem.description = 'Log Courier library'
gem.summary = 'Receive events from Log Courier and transmit between LogStash instances'
gem.homepage = 'https://github.com/driskell/log-courier'
Expand Down
9 changes: 9 additions & 0 deletions src/log-courier/log-courier.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,17 @@ func RegisterShutdownSignal(signal os.Signal) {
}

func main() {
var flag_version bool

flag.BoolVar(&flag_version, "version", false, "show version information")

flag.Parse()

if flag_version {
log.Printf("Log Courier version 0.10\n")
return
}

if *cpuprofile != "" {
f, err := os.Create(*cpuprofile)
if err != nil {
Expand Down

0 comments on commit 398571f

Please sign in to comment.