Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log file doesn't often show new log #9

Closed
yayaigo2010 opened this issue Dec 31, 2015 · 1 comment
Closed

Log file doesn't often show new log #9

yayaigo2010 opened this issue Dec 31, 2015 · 1 comment

Comments

@yayaigo2010
Copy link

I open three GatewayWorker Servers in an operating system.
I have the same code in three different folder ,and the folder structure is below:

Peter or Leon or Test folder
-GatewayWorker
--Applications
--- YourApp
---- Config
----- Config.php (add by myslef)
------ Db.php
------ Store.php
...(Skip)

this is Test's Config.php code blow:
$port = 8282;
$logFileNamePostfix = "";

this is Peter's Config.php code blow:
$port = 8283;
$logFileNamePostfix = "Peter";

this is Leon's Config.php code blow:
$port = 8284;
$logFileNamePostfix = "Leon";

the $port will apply for "$gateway = new Gateway("Text://0.0.0.0:".$port);"
the $logFileNamePostfix will apply for
"Worker::$stdoutFile = '/var/log/TTT_SocketServer_'.$logFileNamePostfix.Carbon::now()->toDateString().'.log';" in start_bussinessworker.php

So I execute "php start.php start -d" in three different folder, I get three server using different port.
and output server log into three different file.

I found that three Log file doesn't often show new log,sometimes it show log,but sometimes it dosen't.
why?

@walkor
Copy link
Owner

walkor commented Apr 21, 2016

It's strange.
May be that time did not produce any log.

@walkor walkor closed this as completed Jun 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants