zend-patterns / ZendServerSDK

Pure ZF2 CLI for zpk creation and webapi client.
BSD 3-Clause "New" or "Revised" License
22 stars 17 forks source link

logsReadLines --lineToRead= #94

Closed Schnaaf closed 8 years ago

Schnaaf commented 8 years ago

when using zs-client.phar the value of the lineToRead parameter is not respected. Independent of this parameter value I always get 200 lines back.

The documentation of this parameter is puzzling as well:

"--lineToRead How many lines to read. defaults to a certain system-wide configurable setting. Limited by another such setting."

What setting are they talking about?

slaff commented 8 years ago

I guess you are talking about the logsReadLines command.

logsReadLines --logName= [--serverId=] [--lineToRead=] [--filter=]

If yes, then I will check if Zend Server has the same command signature and see where is the issue coming from.

Schnaaf commented 8 years ago

Thanks for the swift fix @slaff