Skip to content

Instantly share code, notes, and snippets.

@boite
boite / 99-gateway.conf
Created August 28, 2015 21:45
Log messages from a remote machine to a separate file - RainerScript config for rsyslog
# Load the UDP input module - only needs to be done once
module(load="imudp")
# Create a rule to log to a separate file
ruleset(name="gateway") {
action(type="omfile" file="/var/log/gateway.log")
}
# Accept input on a given interface and port and process with the "gateway" ruleset
input(type="imudp" address="192.168.1.1" port="514" ruleset="gateway")
@boite
boite / messages.log
Created February 21, 2015 20:14
messages.log showing java exception
-------------------------------------------------------------------------------
>Log Session: Saturday, February 21, 2015 8:01:12 PM GMT
>System Info:
Product Version = Gephi 0.8.2 201210100934
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.8.0_31; Java HotSpot(TM) Client VM 25.31-b07; Oracle Corporation
Runtime = Java(TM) SE Runtime Environment 1.8.0_31-b13
Java Home = C:\Program Files (x86)\Java\jre1.8.0_31
System Locale; Encoding = en_GB (gephi); Cp1252
Home Directory = C:\Users\d
C:\project>vagrant halt
INFO global: Vagrant version: 1.2.2
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/box/plugin.rb
INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/destroy/plugin.rb
INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/halt/plugin.rb
INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/init/plugin.rb