Open houshmand-2005 opened 7 months ago
با سلام این رفتار پنل مرزبان که وقتی لاگ رو در فایل ذخیره میکنیم، دیگه لاگ نشون نمیده باعث میشه که اسکریپت V2IpLimit از کار بیفته چون این اسکریپت از لاگهای پنل مرزبان برای شمردن تعداد آیپیهای هر کاربر استفاده میکنه.
Hi, The problem is that when we save logs, logs are no longer displayed in the panel and API
After change config(xray_config.json) like this
This is what Api and Panel shows:
And this is the contents of
access.log
file (this is right and ok):As I can understand when with Xray we save the logs Xray doesn't show them on stdout, so marzban can't catch them. This is Marzban code to get logs:
so marzban just read the stdout and when Xray is saving log file, it doesn't send logs into stdout.
I found this out when someone reported it in my script https://github.com/houshmand-2005/V2IpLimit/issues/32
And if we remove the save location to just show the logs like this:
Again the logs are sent without any problem.
Do you think something can be done for this?