The usage for the word "long"

First, thanks for viewing this post.

Here is my question: in the sentence “I have long acknowledged this problem…”, is the word “long” grammatically correct using in this way?

Hello.

That sentence is correct. It is the equivalent to ‘I have acknowledged this problem for a long time.’

Thank you very much.