Jump to content


Logged commands showing weird numbers in path list

perforce server logs

  • Please log in to reply
2 replies to this topic

#1 Miles O'Neal

Miles O'Neal

    Advanced Member

  • Members
  • PipPipPip
  • 136 posts

Posted 29 April 2019 - 10:31 PM

Some (but not all) commands that are invoked with multiple paths (e.g., p4 fstat -s //foo... //bar... //fred... //derf... //foob... //barf..." end up in the logs with a number (typically 1-3 digits) in parentheses before the last listed path or two. Example:

2019/04/29 04:48:13 pid 3186002 georgepburdell@newbie someIP [P4V/NTX64/2017.1/1491634/v81] 'user-fstat -s //foo... //bar... //fred... //derf... //foob... (311) //barf..."

[Not its real name, in case that wasn't obvious.]

This happens across numerous commands (status, dir, fstat, protects, edit, etc.) and p4 client binaries (p4, p4v, swarm, etc.)

What are these numbers?

Thanks.

[Edit: I just found a case where this occurred with NO paths on the command:

2019/04/29 16:21:10 pid 3792721 myself@myclient someIP [p4/2017.1/LINUX26X86_64/1534792] 'user-status -f (41)'
]

#2 Sambwise

Sambwise

    Advanced Member

  • Members
  • PipPipPip
  • 928 posts

Posted 30 April 2019 - 02:39 AM

This is completely unfamiliar to me, but I took a quick scan through the relnotes and found this:

#1646840 (Bug #94877) ***
    Additional logging is now reported by the proxy when track=1
    is set. The new proxytotals line records the number of files
    and the total file size (in MB) transferred to the client from
    the upstream server and from the proxy's cache.

Could the number be the number of files affected by the command?

#3 Miles O'Neal

Miles O'Neal

    Advanced Member

  • Members
  • PipPipPip
  • 136 posts

Posted 30 April 2019 - 04:47 PM

No. The first directory alone has 218 files in it (not counting directories). And we don't use proxies, just replicas and brokers.





Also tagged with one or more of these keywords: perforce, server, logs

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users