There is no mechanism for writing custom logging in ArcGIS Portal Logs, I've raised a case https://my.esri.com/#/support/cases/02534988 for my requirement.
Something similar to Custom ArcGIS Server Logging.
Custom Logging should be available from Python API at least.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.