Skip to content

1.3.4: Fixed Windows autoupdate, logrotate.d script, better LAN IP detection, fixed tests

Compare
Choose a tag to compare
@leeliu leeliu released this 19 Aug 06:29
· 334 commits to master since this release

Release Notes

Windows Agent's autoupdate feature is now fixed and working with newest versions from chocolatey. Log rotate script on linux had a bad file mode 0664, corrected now to 0644 to maximize compatibility with various distros. LAN IP detection now uses ip ranges rather than interfaces. Fixed grunt tests that failed from sporadically due to race conditions.

Installation

Via Package Managers:

Ubuntu/Debian/Linux Mint

echo "deb http://repo.logdna.com stable main" | sudo tee /etc/apt/sources.list.d/logdna.list
wget -O- http://repo.logdna.com/logdna.gpg | sudo apt-key add -
sudo apt-get update
sudo apt-get install logdna-agent < "/dev/null" # dev/null required for scripting

CentOS/Amazon Linux/RedHat Enterprise Linux

echo "[logdna]
name=LogDNA packages
baseurl=http://repo.logdna.com/el6/
enabled=1
gpgcheck=0" | sudo tee /etc/yum.repos.d/logdna.repo
sudo yum -y install logdna-agent

Windows

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
choco install logdna-agent -y

Installation instructions for Linux and Windows can also be found by running the LogDNA CLI.

Mac

Download logdna-agent.pkg below and double-click it to install/update.

Alternatively install via brew cask:

brew cask update
brew cask install logdna-agent

If you would like the agent to start automatically after boot, run the command:

sudo launchctl load -w /Library/LaunchDaemons/com.logdna.logdna-agent.plist

Note: the Mac version of the logdna-agent is intended for macOS Server or testing only