Log({convex}) but in my problem is log(affine)

Hello everyone,
this is my problem

the objective function is concave but there is a error : Illegal operation: log( {convex} ).
this is my code

thanks everyone!

It is affine on paper, but in the code below you have abs.

Dear Michal:
thanks! I replace the abs to real, it work thank you!