Find Jobs
Hire Freelancers

Modify logs activity of an FTP server written in goLang

€8-30 EUR

Closed
Posted about 6 years ago

€8-30 EUR

Paid on delivery
I would like to modify the logs activity of an FTP server written in goLang 1. Download the server with the command: go get [login to view URL] 2. cd %GOPATH%\\src\\[login to view URL]\\fclairamb\\ftpserver 3. go build 4. ftpserver The server must be running correctly. By default the logs are saved in the console, they must be saved in files in the following way. 1. Add in the [login to view URL] file the 4 following directives: enable_logs, logs_dir, max_file_logs, logs_request 2. Add for each user the following 3 directives: separately_logs, max_file_logs, logs_request SEE FILE [login to view URL] TO UNDERSTAND DIRECTIVES TO ADD IMPORTANT: the directives (enable_logs, logs_dir etc...) must be detected in real time! That is to say, if we change the value of a directive, we must take it into account right away. Example: separately_logs = true means that the server backs up the logs for that user, but if it is changed to false, the server must immediately stop backing up the logs for that user (without restarting the server). NB: you can add to the server a "configuration reload" via a "golang watcher system" to detect changes in the [login to view URL] file in real time. As soon as this file is modified, we reload the configuration. Do what you want most is that changes to these guidelines should be taken into account immediately by the log manager. NB: what you add must be written by yourself. No copying / pasting of the internet or code portion modification. NB: for the max_file_logs and logs_request directives you can write an application separately. Example: [login to view URL] (it's a simple proposition to not slow down the server - it's up to you) OF COURSE, YOUR CHANGES MUST BE COMPATIBLE WITH ALL OPERATING SYSTEMS (WINDOWS, LINUX, FREEBSD, MAC ETC ...). ALL SYSTEMS SUPPORTED BY GOLANG. # -------------------------------------------------------- # SERVER LOGIN # -------------------------------------------------------- # Save the server logs ? # The logs will be saved in "logs_dir" defined below. Format: [login to view URL] => [login to view URL] enable_logs = true # Directory logs. If the directory does not exist, we try to create it, if we can not create it, no logs registration logs_dir = "C:\\ftpServer\\logs\\" # Leaver only this latest x logs files (see "logs_request" defined below) max_file_logs = 30 # The action to be applied on the logs files IF $max_file_logs > 0 # - remove: remove, we leave only the last $max_file_logs logs files and we delete the rest # - compres: we keep the last 30 logs files and we compres the rest before deleting them (compres zip or rar as you want). # - empty or any other value we do nothing # Nb: if max_file_logs < 1 or not defined, we do nothing # Eg: # logs_request = "remove" # logs_request = "compres" logs_request = # -------------------------------------------------------- # USER LOGIN # -------------------------------------------------------- # Save the logs for this user separately # The logs will be saved in %{logs_dir}/%{Login}/[login to view URL] (eg: C:\\ftpServer\\logs\\test\\[login to view URL]) # Where %{logs_dir} is the logs directory defined above and %{Login} the user logsin # If the directory does not exist, we try to create them, if we can not create them no logs registration # NB: if enable_logs defined above is "false", no user separately logs registration separately_logs = true # Leaver only this latest 30 logs files (see "logs_request" defined below) max_file_logs = 30 # The action to be applied on the logs files for the user IF $max_file_logs > 0 # - remove: remove, we leave only the last $max_file_logs logs files and we delete the rest # - compres: we keep the last 30 logs files and we compres the rest before deleting them (compres zip or rar as you want). # - empty or any other value we do nothing # Nb: if max_file_logs < 1 or not defined, we do nothing # Eg: # logs_request = "remove" # logs_request = "compres" logs_request = "compres"
Project ID: 16175094

About the project

4 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average €43 EUR for this job
User Avatar
Hi, I am perfect with golang. I understand your requirements. I am willing to do the project. Can we discuss further about this project. Thanks.
€29 EUR in 3 days
5.0 (2 reviews)
2.9
2.9
User Avatar
I have worked with Golang for the past 6 months and have a general developer experience of 3 years and linux experience of 4 years
€30 EUR in 7 days
5.0 (1 review)
1.5
1.5
User Avatar
I'm new on freelance and willing to do ur project cheat to get review score. I can deliver this task within a day, do you have prefer golang default log module or could I use some better alternatives?(ex. logrus)
€34 EUR in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of FRANCE
France, France
5.0
5
Payment method verified
Member since Mar 19, 2015

Client Verification

Similar jobs

Superstar Programmer for Versatile Coding Assignments
$15-25 USD / hour
Intermediate Backend Developer Needed in GoLang & PostgreSQL
$2-8 USD / hour
build an API for automated car image background removal and placement within a virtual showroom environment.
$250-750 USD
Deployment Automation: Python, Go, SSL, Bash, Docker
$1000 USD
Advanced GoLang Build with Essential Features
$25-50 USD / hour
Deployment Automation: Python, Go, SSL, Bash, Docker
$1000 USD
Advanced Identity Verification through Face Recognition
$10-30 USD
Advanced JavaScript We3 Web App
€12-18 EUR / hour
Superstar Programmer for Versatile Coding Assignments
$15-25 USD / hour
Advanced GoLang Build with Essential Features
$25-50 USD / hour
Advanced JavaScript We3 Web App
€12-18 EUR / hour
build an API for automated car image background removal and placement within a virtual showroom environment.
$250-750 USD
Advanced Identity Verification through Face Recognition
$10-30 USD
Intermediate Backend Developer Needed in GoLang & PostgreSQL
$2-8 USD / hour
Intermediate Backend Developer Needed in GoLang & PostgreSQL
$2-8 USD / hour
Advanced Identity Verification through Face Recognition
$10-30 USD
build an API for automated car image background removal and placement within a virtual showroom environment.
$250-750 USD
Deployment Automation: Python, Go, SSL, Bash, Docker
$1000 USD
Advanced JavaScript We3 Web App
€12-18 EUR / hour
Superstar Programmer for Versatile Coding Assignments
$15-25 USD / hour
Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.