• Stars
    star
    2,598
  • Rank 17,638 (Top 0.4 %)
  • Language
    Go
  • License
    MIT License
  • Created almost 12 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Go package for reading from continously updated files (tail -f)

Build Status Build status

Go package for tail-ing files

A Go package striving to emulate the features of the BSD tail program.

t, err := tail.TailFile("/var/log/nginx.log", tail.Config{Follow: true})
for line := range t.Lines {
    fmt.Println(line.Text)
}

See API documentation.

Log rotation

Tail comes with full support for truncation/move detection as it is designed to work with log rotation tools.

Installing

go get github.com/hpcloud/tail/...

Windows support

This package needs assistance for full Windows support.

More Repositories

1

npm-lazy-mirror

A lazy mirroring server for npm
JavaScript
32
star
2

HPCloud-PHP

PHP Bindings for HP Cloud
PHP
23
star
3

kubernetes-service-loadbalancer

Service Load Balancer implementation for Kubernetes
Go
21
star
4

golor

Go terminal color package (256 colors)
Go
18
star
5

cloud-foundry-client-js

A JavaScript client for Cloud Foundry. Supports running in the browser and Node.js.
JavaScript
17
star
6

stackato-cli

Sources of the stackato command line client.
Tcl
15
star
7

swift-webdav

A proxy to access OpenStack Swift via WebDAV
JavaScript
13
star
8

cf-services-connector-nodejs

A Cloud Foundry v2 service API compatible service broker implementation in Node.js
JavaScript
12
star
9

zmqpubsub

Go-friendly pubsub implementation on top of zeromq
Go
11
star
10

hpcloud-js

HPCloud bindings for JavaScript
JavaScript
10
star
11

stackato-service-filesystem

Stackato's core filesystem service
Ruby
7
star
12

run

Channel-friendly wrapper to run commands in Go
Go
7
star
13

CloudAgents

Cloud Agents - An OpenStack Integrated Orchestration and Automation PaaS Prototype
Python
7
star
14

hpcloud-kubesetup

Kubernetes cluster setup tool for HP Helion OpenStack
Go
6
star
15

log

Extension of Go's log package to provide log levels
Go
5
star
16

logyard

Stackato's logging system (open sourced on Oct, 2014)
Go
5
star
17

HPCSMist

IOS bindings for HP Cloud
Objective-C
4
star
18

cloudfoundry-jenkins

Jenkins plugin to push an application to Cloud Foundry at the end of a build
Java
4
star
19

unix_cli

Ruby
3
star
20

confdis

JSON-based configuration in redis
JavaScript
3
star
21

stackato-service-elasticsearch

A plugin for Elasticsearch as a service on Stackato.
Ruby
3
star
22

icinga

Openstack Icinga plugins
Shell
3
star
23

aok

The AOK authentication module for Stackato.
Ruby
3
star
24

logyard-apps

Applications and components using logyard API and streams
Go
3
star
25

uaa

UAA (cloud foundry's authentication mechanism)
Java
3
star
26

stackato-buildpack-ruby

Alternative ruby/rails buidpack for Stackato
Shell
3
star
27

stackato-cluster-tool

Deploy any type and size of Stackato clusters in 10 minutes on Amazon AWS and OpenStack
HCL
3
star
28

openstack-paris-extending-horizon

Materials for Extending The Pane of Glass: Building Horizon Panels for Non-OpenStack Applications
Python
3
star
29

garden-hcs

Cloud Foundry Garden Host Compute Service
Go
3
star
30

stackato-app-store

Stackato App Store Builder
3
star
31

knife-select

Knife plugin to manage chef server selection via an environment attribute
Ruby
3
star
32

stackato-buildpack-perl

A buildpack for running Perl-based applications on Stackato version 3 and higher.
Perl
2
star
33

blacklist_node_attrs

Strip wildcarded attributes from the node object before saving back to the chef server
Ruby
2
star
34

go-openstack

HP Helion OpenStack go bindings
Go
2
star
35

nova-scheduler-filters

Additional Filters for nova-scheduler
Python
2
star
36

em-docker-client

An EM-based non-blocking client for docker (in development)
Ruby
2
star
37

nova-network-drivers

Additional Drivers for nova-network
Python
2
star
38

httpapi

Writing HTTP API services in Go
Go
2
star
39

logyard-devguide

Tutorial and examples on how to effectively leverage logyard drains
Ruby
2
star
40

stackato-service-activemq

ActiveMQ as a service on Stackato
Ruby
1
star
41

stackato-app-test

Shell
1
star
42

stackato-buildpack-python

Stackato buildpack for Python
Shell
1
star
43

hcf-docker-base-build

Base Container for Docker Build Farm
Ruby
1
star
44

downloads.stackato.com

Shell
1
star
45

stackato-go

Go package for Stackato client and server API
Go
1
star
46

heroku-buildpack-go

Go support for Heroku^WStackato
Shell
1
star
47

omniauth-openstack-identity

OmniAuth Strategy for OpenStack Keystone Authentication
Ruby
1
star
48

heroku-buildpack-php

Shell
1
star
49

cf-dotnet-builder-buildpack

Buildpack that uses msbuild to build artifacts
PowerShell
1
star
50

cloudfoundry-buildpack-meteorite

Shell
1
star
51

heroku-buildpack-ruby

Code Pull Requests 0 Pulse Graphs Settings SSH clone URL You can clone with HTTPS, SSH, or Subversion. Heroku's Ruby Buildpack for Cedar
Ruby
1
star