Run PowerShell
tail -f
Get-Content -Path C:\MyLogs\mylog.log -Wait -Tail 100
tail -f | grep
Get-Content -Path C:\MyLogs\mylog.log -Wait -Tail 100 | Select-String "Search Word"
Software Engineer is(should be) a most efficient Problem Solver.
Run PowerShell
tail -f
Get-Content -Path C:\MyLogs\mylog.log -Wait -Tail 100
tail -f | grep
Get-Content -Path C:\MyLogs\mylog.log -Wait -Tail 100 | Select-String "Search Word"
If you search "traefik log file path setting" in Google. The following 2 URLs are top.
https://doc.traefik.io/traefik/observability/logs/
https://doc.traefik.io/traefik/v1.7/configuration/logs/
I was confused. Because first URL shows the following example.
[log]
filePath="/MyLogs/traefik.log"
format = "json"
level = "DEBUG"
And second URL shows the following example. But it doesn't work with Traefik version 2.2
logLevel = "DEBUG"
[traefikLog]
filePath="/MyLogs//traefikLog.log"
Here is my traefik.toml for Traefik version 2.2. I found the reason of 404.
[log]
filePath="/MyLogs/traefik.log"
format = "json"
level = "DEBUG"
[accessLog]
filePath="/MyLogs//traefikAccess.log"
mvn clean packageYou can see the report in ${your_project_root_directory}/target/site/jacoco/index.html
If your project already defines VM arguments for test execution, be sure that they will include property defined by JaCoCo.
One of the ways to do this in case of maven-surefire-plugin - is to use syntax for late property evaluation:
org.apache.maven.plugins
maven-surefire-plugin
@{argLine} -your -extra -arguments
Here is my real configuration pom.xml
cat /proc/sys/fs/file-max
ps aux | grep glassfish #find process id(pid) grep "open files" /proc/10244/limits Max open files 65535 65535 files
Make new repository on you github.
You can see how to push your project to new repository.
https://github.com/baepiff/test
git clone https://github.com/baepiff/voldemort voldemort
cd voldemort
git checkout --detach
# delete all branches
git branch | grep --invert-match "*" | xargs git branch -D
# get all branches
for remote in `git branch --remotes | grep --invert-match "\->"`; do
git checkout --track $remote
done
# confirm you have all branches and tags
git branch
git tag
# make another local repository
git clone voldemort voldemort2
cd voldemort2
git checkout --detach
git branch | grep --invert-match "*" | xargs git branch -D
for remote in `git branch --remotes | grep --invert-match "\->"`; do
git checkout --track $remote
done
git branch
git tag
# Isolate docs and recreate branches
# --prune-empty removes all commits that do not modify docs
# -- --all updates all existing references, which is all existing branches
git filter-branch --prune-empty --subdirectory-filter docs -- --all
# clean up git log
rm -rf .git/refs/original/*
git reflog expire --all --expire-unreachable=0
git repack -A -d
git prune
# push all branches and tags to new repository
git remote set-url origin https://github.com/baepiff/test
git push --all
git push --tags
find /opt/myapp/log/ -mtime +120 -type f -exec rm {} \;
http://www.howtogeek.com/howto/ubuntu/delete-files-older-than-x-days-on-linux/