Skip to content

Instantly share code, notes, and snippets.

@etoews
Created August 18, 2012 18:33
Show Gist options
  • Save etoews/3388921 to your computer and use it in GitHub Desktop.
Save etoews/3388921 to your computer and use it in GitHub Desktop.
Logging with jclouds
$ javac -cp ".:lib/*" JCloudsLoggingExample.java
$ java -cp ".:lib/*" JCloudsLoggingExample
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Calling listNodes...
Total Number of Nodes = 1
{id=DFW/45b23d7b-ec6a-49dc-a642-dadbba42af17, providerId=45b23d7b-ec6a-49dc-a642-dadbba42af17, name=test-1b, location={scope=HOST, id=44ae081dce76afa64907ffd3822debbe4c51644611e4399478bb8034, description=44ae081dce76afa64907ffd3822debbe4c51644611e4399478bb8034, parent=DFW}, group=test, imageId=DFW/5cebb13a-f783-4f8c-8058-c4182c724ccd, os={family=ubuntu, name=Ubuntu 12.04 LTS (Precise Pangolin), version=12.04, description=Ubuntu 12.04 LTS (Precise Pangolin), is64Bit=true}, status=RUNNING, loginPort=22, hostname=test-1b, privateAddresses=[123.123.123.123], publicAddresses=[123.123.123.123], hardware={id=DFW/3, providerId=3, name=1GB Standard Instance, location={scope=ZONE, id=DFW, description=DFW, parent=rackspace-cloudservers-us, iso3166Codes=[US-TX]}, processors=[{cores=1.0, speed=1.0}], ram=1024, volumes=[{type=LOCAL, size=40.0, bootDevice=true, durable=true}], supportsImage=ALWAYS_TRUE}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment