Xray-SaveLog
is a utility designed to log user connection data from Xray Core. It automatically saves connection logs to a specified file.
- Automatic Logging: Logs connection details of users connected to Xray Core.
Before installing Xray-SaveLog
, ensure you have:
-
Clone the repository to your local machine:
git clone https://github.com/AidinShekari/Xray-SaveLog.git cd Xray-SaveLog
-
Install the required dependencies:
npm install
-
Run the application:
npm start
By default, the application will save user connection logs to
./root/vpndb.json
. Ensure that the./root
directory exists and has the appropriate write permissions.
Once the application is running, it will automatically start logging connection data to ./root/vpndb.json
.