This gist is for Linux. For windows is the same thing.
create a file .login_info
as below:
connect your.server.url
usernanme
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
For most people, "
is much more frequently used than '
.
For most developers,Esc
is much more frequently used than Caps Lock
.
For programmers of Java/JavaScript/C/C++/C# etc, {
/}
is more frequently used than [
/]
.
So it's not bad to swap them.
An application can run on multiple hosts and if we want to collect the logs from all clients we can use log4j's socket appender.
Log4j has implemented SimpleSocketServer which calls SocketNode which collects all events from all clients to a single log file so it's difficult to identify them.
Out goal is to collect events from each client to a separate log file with file name xxx-{client}.log where {client} is the client address.